From nobody Sat Aug 5 11:53:34 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 4RJ1FB6tJKz4gxBN; Sat, 5 Aug 2023 11:53:34 +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 4RJ1FB68Xtz3PmZ; Sat, 5 Aug 2023 11:53:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691236414; 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=4nglJR+R6psc1kBvJU8/St1j7zHJGCb3xWeQmoTWYdM=; b=nPQaO9qmn9wjcwRP1GvUHIioetkKmphcTOWnrit0sG4b8pbsJOC5PN0VfDWS6BDVIl0Bkj Lqah/+obDYdhRY+C3oxVFhSb5U4S9KtsUjozh0EBETwagn5qaU1x8smttsXBuZCwnQK/kK wpz/Lv1bxkmvfaQ0Cp1Mr6F60zFOI+E0GuN/BDD9TtgEwKTwvBAckCBQFoMx7oOZWgxs4w ayg1tTs1QpgWXtpfriz7qP7qsTS4nTjjgVFZc5J7ByqQBy2tPdY/j3daiXsch9HTe1WMFk TLFu2c4GgcE+pdP6MZ7O4JHWywyckTtjdA6kRsXI073qDajueqI8QQP84ovxkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691236414; 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=4nglJR+R6psc1kBvJU8/St1j7zHJGCb3xWeQmoTWYdM=; b=xcsHPXFH5ehDgbv7lBjyPLhDansumUfTUI5VmK6YvqjH3pcqfZ5L06h78p/CMDI1659Hn/ ptkfkdgwLYOzYRtASQzGtSkP7LKBY9Qlpd8Gdt5ssYxKMQrVBKNLd90Bs3hWvEsqZKHpBm OFH5K4RqB6KHwdtwi/B7Kjm0UYIuUZg5ojLvPUYxWLR8tI6HdiyyXQJ2+YpYlV91MDJ581 6MMLChXqcr5Bwh4XRLBHfCMtyNcTRiWkeycUN9bUxpQRcuaBFsMah98PbmFqi7Gu70r8My fMoE6drLLs4+dbQ93CIiE0fFEXIxLtoMytJIKRxPz6Nb/4T7s2LoaErWsYomAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691236414; a=rsa-sha256; cv=none; b=YHJNR7hNWoRgVobrWe1Ei/zhFRq+2dU4D/n0nbRRAdaKGmfGctik/jLIQHdpJVzwkWJU3t agMmLAe9MHZE/qSKWJqErJXhmENZ0zHdtV13OvANj62i9HhN8ct3Sw4irQhuTNBJxFaBKG 7H/nBUNUkvD/JuXK41z6JaDsFteASe5nlSe6Ull9aBzE0jllk4M/RM/eEfW6GN8g12G8WB I1Vpx4QGlxxcd5Hopl4ohWN0Rm7pH3Q/ZHh5Zf2ow5Wta1egRNR8wA4U20Y3JX1Jfp2tw1 rpaz2tUScSOMzmHEV6r+4bQr5H0miJLoizYTcCg3nP4F9V2vXuB8vxnQb5jy3g== 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 4RJ1FB5Dq4zCBv; Sat, 5 Aug 2023 11:53:34 +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 375BrYoG075139; Sat, 5 Aug 2023 11:53:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375BrYNR075138; Sat, 5 Aug 2023 11:53:34 GMT (envelope-from git) Date: Sat, 5 Aug 2023 11:53:34 GMT Message-Id: <202308051153.375BrYNR075138@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: 5c61e9cc044a - main - deskutils/gtimer: 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: 5c61e9cc044a164aca61410ada4365948005fb72 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c61e9cc044a164aca61410ada4365948005fb72 commit 5c61e9cc044a164aca61410ada4365948005fb72 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 11:10:27 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 11:53:19 +0000 deskutils/gtimer: Fix build with llvm16 - Utilize USES=localbase - Pet portclippy Sponsored by: The FreeBSD Foundation --- deskutils/gtimer/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/deskutils/gtimer/Makefile b/deskutils/gtimer/Makefile index 68919609e4f2..0b4a9f1bfe77 100644 --- a/deskutils/gtimer/Makefile +++ b/deskutils/gtimer/Makefile @@ -12,13 +12,20 @@ LICENSE= GPLv2 RUN_DEPENDS= xdg-open:devel/xdg-utils -USES= gettext perl5 gmake gnome pkgconfig xorg -USE_XORG= x11 xscrnsaver +USES= gettext gmake gnome localbase perl5 pkgconfig xorg USE_GNOME= gtk20 +USE_XORG= x11 xscrnsaver + GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -Wno-return-type -LIBS+= -L${LOCALBASE}/lib -lX11 +CPPFLAGS+= -Wno-return-type +LIBS+= -lX11 + +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif post-patch: @${REINPLACE_CMD} -e 's|1.1.7|${PORTVERSION}|g' ${WRKSRC}/configure