From nobody Tue Jul 11 20:29:24 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R0ssw3GQ8z2tq3y; Tue, 11 Jul 2023 20:29:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R0ssw2pSxz3pnd; Tue, 11 Jul 2023 20:29:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689107364; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qf5ggdGRr2iWJ2yHIA52l4t8Envzshu7b3H5MHtnk5k=; b=Ax4zo3UmkYIVUitvbBM+IHdbq8hXiiz1QM6Jlmf2+pvUjf3dM88D/2q4S6rHYmCWoMbrgH RRx6PxwSXvhSoq3bQikj1H0QFYgapox2nHCrPcOc3+ODtvdQMHe9/Q4HZQUtFl3YAjYEOw 3vSoNfdd3tYa5EzH//UHKRl/UszxhEBQ3HAEXe6L9H2ILYDXwkJZkGQLAVrpYlHmdOGDst sX8DZDYUybYEk04c/wcS9mqJ5YFggJAieYXONOvmQyCXHSLdApKRE5CB5IUFhGZUOMpuKL f+xBwTCmdxxA5cVsV650kKppn0GsztNPJ8mZv5Qo6OJOT4VFj8H1hEk6+/fHng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689107364; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qf5ggdGRr2iWJ2yHIA52l4t8Envzshu7b3H5MHtnk5k=; b=ds1Kg0HbQAQmz/1hYYo6eF8RrpFD+CRFNqLWGyK958GlNDv2qwVAWNxiIgBH/nErcE9Y2n Vx9sqci5NPBMVNRWz/lWpHRBjaksUWF4eWOSnHZP8+JWXUeFFcO7HQ8gLahZiPH2me9eKI iLycxhE8RSE9NFNOU21xXEDX2MyvfgrFP2XDCDLY8rZ2nGN/d01QFairWKXZlnHntWMdAV V4PT7ax4L35h2YmNxME+BC7eIEjKx2UNJMEACZtT3vvZNEn3sc3zgpWLSv8YfCiO7hNsQm t/Wwbgaj7LdYb52ha9suhrPkJrqJLUOnKRuGycmW6yE1XZsDaNkRXKa1NcFxjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689107364; a=rsa-sha256; cv=none; b=q0BbzMQPU7jhb5aUc2Cl6oGqJPOTF9hos0Uo1NQsnKtZ5vvCWEiLt3ULlQ7CejYsfmSMo5 JoQEi+boh3OGX32GiDaT5yO5t0mWCtjxaQnAkNe6807oCvFmfanpYbTfNnCK/PmSuiPIly UZ8xFrEhebIxFgu5nZb6fU3vX2VPOxbG2znpm3Aiw2yoe+pjBp4O8XmZRRY+V5WAC8H3LF bOksHk/QdN8AYp+EmbH61q4GBULOlxsCINlnuKf6EFf4OcmG1xVmzaGn4qoSyuK7xRV+Ys j5dyGiiOIgImYVwYt3AW87FXuptJarDioxdWF4L1lqAMckn3lnfaS323OjTIRA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R0ssw1v8VzgFR; Tue, 11 Jul 2023 20:29:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36BKTOkn038742; Tue, 11 Jul 2023 20:29:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36BKTOxo038741; Tue, 11 Jul 2023 20:29:24 GMT (envelope-from git) Date: Tue, 11 Jul 2023 20:29:24 GMT Message-Id: <202307112029.36BKTOxo038741@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: 2f3cbb880dc0 - main - graphics/libemf: Unbreak build with clang16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f3cbb880dc06413014f6661caea4e046bf36c5f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f3cbb880dc06413014f6661caea4e046bf36c5f commit 2f3cbb880dc06413014f6661caea4e046bf36c5f Author: Nuno Teixeira AuthorDate: 2023-07-11 20:28:21 +0000 Commit: Dima Panov CommitDate: 2023-07-11 20:28:21 +0000 graphics/libemf: Unbreak build with clang16 PR: 272425 --- graphics/libemf/Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/graphics/libemf/Makefile b/graphics/libemf/Makefile index acc1b9079707..00207ef8b4f2 100644 --- a/graphics/libemf/Makefile +++ b/graphics/libemf/Makefile @@ -1,5 +1,6 @@ PORTNAME= libEMF -PORTVERSION= 1.0.13 +DISTVERSION= 1.0.13 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF DISTNAME= libemf-${DISTVERSION} @@ -10,14 +11,21 @@ WWW= http://libemf.sourceforge.net/ LICENSE= LGPL21 -OPTIONS_DEFINE= DOCS - -USES= cpe libtool +USES= compiler:c++14-lang cpe libtool CPE_VENDOR= ${PORTNAME:tl}_project +# libEMF 1.10.13 does not work with C++17 which is the default since +# clang 16. This can be removed once that port starts working with C++17 and +# has its own USE_CXXSTD removed. +# See also: https://sourceforge.net/p/libemf/bugs/5/ +USE_CXXSTD= c++14 +USE_LDCONFIG= yes GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip TEST_TARGET= check +OPTIONS_DEFINE= DOCS + post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}