From nobody Mon Aug 07 23:40:43 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 4RKXrD58W2z4pm4l; Mon, 7 Aug 2023 23:40:44 +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 4RKXrD0djbz4Xb9; Mon, 7 Aug 2023 23:40:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691451644; 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=P0fjF6NymfJAYq8IOYcCki6NXVNkhoDb42AnG4btT9I=; b=F/SknEcNNM+8PRruI6IRk+UDdwoYWejAK4aOKT1kkHMx5+XtAJpuwRGVeMF086xPC5JxfH Jg6cCVD34Hlc7T8K7bvIFZZ4+tJDPK0Rq6OzthcETDvr4Mh+hjK1BqhAUTuzUfw3K8+XHu pJHLU9jJes6m0dRfbepZcQPRdH9dao9N9qiSunPqyEJfTFp1Frq6MZrdmFgsxQwcfyrLVL zuvACUht7Wh+LXgIT6NwxOqvU/03sg7etGESQzqzynNHyTzLtivm1S3h5AXBl7tX9zNUdW kee/i982r5d8W/dFSIMALqajnXgSMfvbLKNN9eXgO6HNfgvciB7ENJwl66QNHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691451644; 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=P0fjF6NymfJAYq8IOYcCki6NXVNkhoDb42AnG4btT9I=; b=v+tGWUFVavOKZJNajPWC3G/1rxfxIsi8Fx6GmTrLahgVDAXItHcYtMziI0aBx+YUhA9Es8 1Sa2RXERM/NhBtS7I6uI1IkL2OhVv6Govkij+DgFNHoZ6izlEvzUohaXfi+qui7DOHyguo 1QNkK+NeoomYthEfoUt2JLNEu2mB4vSPGC0amxZIO4r0JC6LzKjKOsEbPEFQUZMTW4soeq No+fWOZdJUpzQBNAEVSgZO7vw7CWLbKLDP+eB5XQdN+VnlmtNvQscVpA0Ttw/JPPvAvv3D J6EAD9pBMwmPBeR8+xbBZpdpaw6nVCqbf5U6EH8YEr2qPsnDwhdiFvy43m5Veg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691451644; a=rsa-sha256; cv=none; b=xyvkh2WsJplDVGNHN6tkqWcPLofh30PeuxGRxVG8vOI6GXZxex1pvFFeGZNqFwFMQPahC6 kFns7yQCt9PMqIXFoAWTTN25832xZV06Ra1MooEDSm/GbUBwW63bT1tcOnh1lyx/phekrE ebVJlLIk6Ouj0A4w1h4HC/6y8K4OtNaJh5pBvtJpl9qjwMMNjeYagPAzqTcwV/8Dof8bUE 7C6A1d/6wvaADgrXgDeny2MULyi9Efia5ght4qDITwDA7zS/fcvabbr/zAHFHmVafwYoCQ AWm7h5e6R3w/4fD5G+f+hQR3txhf/pq6aRk89ftoNSXrjnsnztjy7lfg1cYh5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RKXrC6pkkz1B81; Mon, 7 Aug 2023 23:40:43 +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 377NehkD052274; Mon, 7 Aug 2023 23:40:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 377Nehks052273; Mon, 7 Aug 2023 23:40:43 GMT (envelope-from git) Date: Mon, 7 Aug 2023 23:40:43 GMT Message-Id: <202308072340.377Nehks052273@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 34293e97fffc - main - x11-toolkits/py-fltk: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 34293e97fffc2f6e182d9c32b51316704b4f8d8f Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=34293e97fffc2f6e182d9c32b51316704b4f8d8f commit 34293e97fffc2f6e182d9c32b51316704b4f8d8f Author: Muhammad Moinur Rahman AuthorDate: 2023-08-07 23:34:18 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-07 23:34:18 +0000 x11-toolkits/py-fltk: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11-toolkits/py-fltk/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/x11-toolkits/py-fltk/Makefile b/x11-toolkits/py-fltk/Makefile index d266be019854..ba34a91d2f0c 100644 --- a/x11-toolkits/py-fltk/Makefile +++ b/x11-toolkits/py-fltk/Makefile @@ -17,6 +17,7 @@ LIB_DEPENDS= libfltk.so:x11-toolkits/fltk CFLAGS+= -DFL_LIBRARY MAKE_ENV= FLTK_HOME=${LOCALBASE}/bin USES= python xorg +USE_CXXSTD= c++14 USE_PYTHON= autoplist distutils USE_XORG= x11 @@ -28,6 +29,12 @@ WRKSRC= ${WRKDIR}/pyFltk-${PORTVERSION} OPTIONS_DEFINE= DOCS EXAMPLES +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -D_LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/setup.py @${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \