From nobody Sun Jul 23 15:53:12 2023 X-Original-To: dev-commits-ports-all@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 4R879h3FBqz4p7gZ; Sun, 23 Jul 2023 15:53:12 +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 4R879h1NZtz3NC3; Sun, 23 Jul 2023 15:53:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690127592; 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=yC4rtu2phKdQv6HvA2eWpMHN4a5fxRt4PmfQ65GIkaY=; b=i9qeAuenBWEcA34nBUa2XA4ncYSWe9xYsQXpqGUPZuyAUnShrSj5tXrtLIZ08L62/awHyV 8H5qHN1W3wiphfCs/ctKaRHaLZ6sAbNHA5Eur4+9OjuZ5nR64OeqRT1dTafARLbC9GUHos fFYvGBglUonNiFSiyRqHN4M80EChHfostHUG9O+wHCPrwKMZJ0Q6+ThtnLgm4IflNm/1k4 +ANXkNHRBSXfLsToH13BTKNuqZWae3xEMD0LnYT3FlJexbkxLBpptKQ1XTAmULig8KlXw1 ZZ14bPuYn1nDGURV1ddwHQ2ZRU7lX69FWNJ9L+CaYkRA4B4I0A6PLNGTPa8Kug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690127592; 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=yC4rtu2phKdQv6HvA2eWpMHN4a5fxRt4PmfQ65GIkaY=; b=VK3bq4Z1UJbgPNwmoOWAtucEPM+7t1dcuZGqzpBR5x0Uk9TbEbWr54Ab9tBZn5VDmfjX1z 3P/Y0tkVRUxLa5ZwgatVwEhjbI2DILdBwtGoZVGXzsMUS75jP5wYyy1QV6/z0XZErcONjm r2sGUI5DCzMhm/VqRV8gEE0oKJbyaYKYyDF8rfTerznB8NsWEXrhE61ueCyswT1XVL8Y1q RXzh8b/p1fwzdp++ztmyZQfC4VzD/nAR+ccYpbCDDbI98HOUekmdNdoc18HdB9MN8dGy+g 9lCKMrxVLxMv5KH+SaxqdF6+jVTpN8b9eYVZhYmFdBINmeqxNlifiiP8Nv3VUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690127592; a=rsa-sha256; cv=none; b=O3yMhmkQjTXVESonxS8voc90aNkRfWtZuM+TCWfecS7d4HhX/+EKQ+nWwIHaaD32a9F9Yp aTmQzhBS0ogF3NGCiPbXJMOMtC5ppjyRVf9JQJ7WNngHx5U9ZJ/dSDQeVGfkVrG/GS10qC lvy7DE0qxWCQ/YMWaaut21M58XUpp6RNpUNasPPunPkgpIKrUZXSHwR/cSNwU8CObDFHTa g1NLTQMWh0whr0Kx3k2udAAHHv7SSOoHgdqWE7loMU9Sph86o5D79RXoRZNnGgqOBqFYZ5 wIO74LI8ZdsMgD8HWPAynWZ/YL3ctlJ0ozHZizJrVrAx9juke6EyBex3C7JDig== 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 4R879h0RZTzj8d; Sun, 23 Jul 2023 15:53:12 +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 36NFrCDx008923; Sun, 23 Jul 2023 15:53:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NFrCW9008922; Sun, 23 Jul 2023 15:53:12 GMT (envelope-from git) Date: Sun, 23 Jul 2023 15:53:12 GMT Message-Id: <202307231553.36NFrCW9008922@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: fc66d1726d5b - main - graphics/anttweakbar: Fix build with llvm16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: fc66d1726d5bbcd802b4e41ed73d43f82608dcad Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc66d1726d5bbcd802b4e41ed73d43f82608dcad commit fc66d1726d5bbcd802b4e41ed73d43f82608dcad Author: Muhammad Moinur Rahman AuthorDate: 2023-07-23 12:25:45 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-23 15:53:02 +0000 graphics/anttweakbar: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/anttweakbar/Makefile | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/graphics/anttweakbar/Makefile b/graphics/anttweakbar/Makefile index 64630175e6cd..046e1d0b0028 100644 --- a/graphics/anttweakbar/Makefile +++ b/graphics/anttweakbar/Makefile @@ -12,26 +12,33 @@ WWW= http://anttweakbar.sourceforge.net/doc/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/../License.txt -USES= dos2unix gl xorg zip +USES= dos2unix gl localbase:ldflags xorg zip +DOS2UNIX_FILES= Makefile LoadOGLCore.h TwPrecomp.h USE_GL= gl glu -USE_XORG= x11 USE_LDCONFIG= yes +USE_XORG= x11 -WRKSRC= ${WRKDIR}/AntTweakBar -WRKSRC_SUBDIR= src - -DOS2UNIX_FILES= Makefile LoadOGLCore.h TwPrecomp.h - -LDFLAGS+= -L${LOCALBASE}/lib -lX11 +LDFLAGS+= -lX11 BINARY_ALIAS= gcc=${CC} +WRKSRC= ${WRKDIR}/AntTweakBar +WRKSRC_SUBDIR= src + PLIST_FILES= include/AntTweakBar.h \ lib/libAntTweakBar.a \ lib/libAntTweakBar.so \ lib/libAntTweakBar.so.${DISTVERSION:R} \ lib/libAntTweakBar.so.${DISTVERSION} +.include + +post-patch: +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 + @${REINPLACE_CMD} -e 's|public binary_function|public __binary_function|' \ + ${WRKSRC}/TwMgr.cpp +.endif + do-install: ${INSTALL_DATA} ${WRKSRC}/../include/AntTweakBar.h ${STAGEDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/../lib/libAntTweakBar.a ${STAGEDIR}${PREFIX}/lib