From nobody Sat Jul 22 06:11:38 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 4R7GKJ6mQsz4pG7h; Sat, 22 Jul 2023 06:11:38 +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 4R7GK6268Gz4JJK; Sat, 22 Jul 2023 06:11:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690006298; 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=LdUN+Wy3jTHNqonvQdNeNLe8zMxzYjZcg2NpsjlTulU=; b=C8TD6W62hq0R+oJlJopAp4S+P6z9GM89xvuZgRibGkiV6FcZ58rxYpoqyWuL0m4HV+uZCO 93/5DHcupkGVqOIffXV8ajwxfs2DMA1KiHNqz8OQoln4AZxabZhyDTR2Tgh/VOdPo9fv7/ lQ7xZ3jZVocGNj94LhdkqHE6OVXnY9DAeSbjvxXg/EzmKYxYwPwOzPvpkHyuSxfF1dM0P/ m7Mb1P8NeLHKmXKAZZwtkygFWC4e8zAa4pORLVczaiWCylQ4faiK9bG0dLx4QsaNP6bPo9 o8xmrpIHBKu0EDG4DH/+MI9KMb7RqunvPDf1D5mzKW5xmgOJsHYp2VGib10iGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690006298; 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=LdUN+Wy3jTHNqonvQdNeNLe8zMxzYjZcg2NpsjlTulU=; b=qq4rzjvuc3nFBIfLBasxsSrMvQYmFVNis5Jrzndpb2AKqADWhS6UUOradrGOegKZ5HaSCL CcYh7Q48EOF7xV/+2egAshyRScbe44o3Trzif2ANXG209/flASlCZutAEBN/mae9tTqDAf /17pk3PmpTPWDZA85FjYViOueNpCrVQXVRLcthlIMV96qlqfFU+mXDL5b7N/LqyZcdwlJj cQ4PtrtEuxyhTa9XCWu3DnQFccH5/oMzKlkGIAK6MwrGb3IIzjEozyJNjN/qpvbxylxN1I mvFXDZSf4JJFy4DRcr76gaZasblR6LK/+An774lw1NTniFkvVsmPLI/6IZi+hA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690006298; a=rsa-sha256; cv=none; b=U1U6C8AF/jkO1UF8RyrxNnCG6gczGuuOgMnweMvwwwmizpVyoBONDdX+tay2bXQyNS/9To Bje5W88IpyndcM9lP9UL4Lj8YODS/tyN/7jrkEiXHitbjN9Mh0I6XD2F8GSU9RpnzWtNEQ Zdg/KpAWvaZ+2oDhW44o9UnhDcvT4g2Ul6EdPMm9T5EkWdDHU/mJ39EuBW9I1bejh78gBX WzgpDkujC6pUgHmg4nN6Oido7M4bbQo0Ef4i/zvtt4U1j8LA6Ez8luzytVxn/ZM+pw4OvW 8j8MEeZqDiFa55CCfWiVaqU0JqPxL6LGgmNV8QRjM/yM0ktYFsleOVyKN1oEFA== 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 4R7GK60pTlzk2g; Sat, 22 Jul 2023 06:11:38 +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 36M6BcPC062355; Sat, 22 Jul 2023 06:11:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36M6Bc6r062343; Sat, 22 Jul 2023 06:11:38 GMT (envelope-from git) Date: Sat, 22 Jul 2023 06:11:38 GMT Message-Id: <202307220611.36M6Bc6r062343@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: 926ec7bbcc24 - main - games/xlennart: 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: 926ec7bbcc241ab9055bae1e5c2c051368430d3a Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=926ec7bbcc241ab9055bae1e5c2c051368430d3a commit 926ec7bbcc241ab9055bae1e5c2c051368430d3a Author: Muhammad Moinur Rahman AuthorDate: 2023-07-22 06:10:49 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-22 06:11:21 +0000 games/xlennart: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/xlennart/Makefile | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/games/xlennart/Makefile b/games/xlennart/Makefile index 8d38d958b57b..63f4392a2875 100644 --- a/games/xlennart/Makefile +++ b/games/xlennart/Makefile @@ -9,11 +9,13 @@ WWW= https://github.com/Xylemon/xlennart LICENSE= GPLv2 +USES= pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= Xylemon + GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=${SCORES_DIR} -SCORES_DIR?= ${DATADIR}/scores - DESKTOP_ENTRIES="xLennart" \ "Save your computers from the evil clutches of Lennart" \ "${DATADIR}/pixmaps/icon.xpm" \ @@ -23,33 +25,35 @@ DESKTOP_ENTRIES="xLennart" \ PLIST_FILES= bin/${PORTNAME} \ man/man6/${PORTNAME}.6.gz - PORTDATA= * +OPTIONS_DEFAULT= GTK OPTIONS_SINGLE= WIDGETSET OPTIONS_SINGLE_WIDGETSET= ATHENA GTK MOTIF -OPTIONS_DEFAULT= GTK ATHENA_DESC= Athena widget set GTK_DESC= GTK widget set MOTIF_DESC= Motif widget set -USE_GITHUB= yes -GH_ACCOUNT= Xylemon - -USES= pkgconfig - -ATHENA_CONFIGURE_ON= --disable-gtk --disable-motif ATHENA_USES= xorg ATHENA_USE= XORG=xaw,xmu,xt,x11,sm,ice +ATHENA_CONFIGURE_ON= --disable-gtk --disable-motif -MOTIF_CONFIGURE_ON= --disable-athena --disable-gtk -MOTIF_USE= XORG=xt,x11,sm,ice,xpm MOTIF_USES= motif xorg +MOTIF_USE= XORG=xt,x11,sm,ice,xpm +MOTIF_CONFIGURE_ON= --disable-athena --disable-gtk GTK_USES= gnome xorg -GTK_CONFIGURE_ON= --disable-athena --disable-motif GTK_USE= GNOME=gtk20 XORG=sm,ice +GTK_CONFIGURE_ON= --disable-athena --disable-motif + +SCORES_DIR?= ${DATADIR}/scores + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif post-patch: @${REINPLACE_CMD} -e '/WIDGET_LIBS=/ s|-lXm"$$|-lXm -lXpm"|' \