From nobody Fri Jul 21 14:45:35 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 4R6smc0nGWz4nWvL; Fri, 21 Jul 2023 14:45:36 +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 4R6smc04kxz43TB; Fri, 21 Jul 2023 14:45:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689950736; 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=uOi80gLJvJvl+wK+yhWFFVwf5B5vZGsfM390AIyT++k=; b=lyDTC+tWuW+Chdu/n36vvwoJzAqsQyiOsNIYGeDvXuD2KYvSHQeAuIEIypnSsYDHXCBpns 1c7aE2vVhXRUayhfGfH+NFOcbiaAG3qiqVFCiZ6zClqIa8BsBYrGYIC/wzKR09jc0NowAH RIU2reuzSzmJex+5UwELVy6LxzqDj1kGaEnRW5vI7rAbKBqwu620GQvxUPbCpgs9ZsdkOI nvT57OwnSbBFZoayKbjSQy1+hlaoqK4LrPz20+O/hwT6XVbhPgeHn+renvejaYZE/N1aRO TqgDWNqlprlVxc64OyL4SU/ze9Q7d1VAOA3sbks7o0qBnTk0c00eBuVsk3FhUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689950736; 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=uOi80gLJvJvl+wK+yhWFFVwf5B5vZGsfM390AIyT++k=; b=lhIvbOScq7yzoqCk/dnn3TzzkLlS7jL/zDMuJbC3Dxc34QZeCqgmIzKfkScFMVdELff1XH UzHOxkSHZA0syv3AFxJQTWlwAu0AjFujac7p6WnSebgY/jfv0sCzFR86XH4Iwr1RC1ApF0 Z0lcPRAp6GJSC44H2jSl8935boR/KDCV8Z54TtNbyT3NCpvD9w7gJ55olDf2MYFX3csMtw kISn+y/q6PIjBXs6U4Q3adAqUTuuqSbsnJUyA+IZxy4SBMqmDH6ZZC4+KSNzR3aWqBiLR0 fPSYLLPSNgkBhjdgm+hTmHDQrILkfkTyJcAVEeI794Vo5QEWve+NVySDeWLkBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689950736; a=rsa-sha256; cv=none; b=XZlhTb6x7UIJ2d6lu2eM6dE0vWNQr0C96Y/LF/tNWggsaBXGBPehQskftRhzlzwVgu06s8 18S3+MbHvErahSuhMVdts7Vl9bttbi8mDoiEzM1F2/D8cy3sq8p2xqmop2Zcof1Qtbk9NW 5mIHGHKN9WYit0IMgi+hSzM4FAsQioX/FkwpiVk4BdysHzmBHqk0RKK+dXSfBm4iJMzZxQ 5Kelz1TsqYpt50WHY7fJDmBeJm8q00yy9hoQbXB13YcOYzipoeLaMZ5bdg5I2SIVTfZapC sn6LEUzhmW/jNYvNpxTitcG7WO7dJ6sYPTV5RMGNRVGQkJUICj7wf+3QoXDYzw== 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 4R6smb65fWzHNp; Fri, 21 Jul 2023 14:45:35 +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 36LEjZ8W025381; Fri, 21 Jul 2023 14:45:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36LEjZo3025380; Fri, 21 Jul 2023 14:45:35 GMT (envelope-from git) Date: Fri, 21 Jul 2023 14:45:35 GMT Message-Id: <202307211445.36LEjZo3025380@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: 77e6f6a8b0b2 - main - audio/denemo: 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: 77e6f6a8b0b23364ed22dc1e18602e6de70e5b09 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=77e6f6a8b0b23364ed22dc1e18602e6de70e5b09 commit 77e6f6a8b0b23364ed22dc1e18602e6de70e5b09 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-21 13:25:53 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-21 14:45:27 +0000 audio/denemo: Fix build with llvm16 - Utilize USES=localbase while I am here Sponsored by: The FreeBSD Foundation --- audio/denemo/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/audio/denemo/Makefile b/audio/denemo/Makefile index cdad24543b7a..4ff869e9e2a0 100644 --- a/audio/denemo/Makefile +++ b/audio/denemo/Makefile @@ -27,7 +27,7 @@ EXTRACT_BEFORE_ARGS=\ -s '!\(/Clarinet in B\).*\(\.denemo\)$$!\1b\2!p' -xf USES= bison:alias compiler:c++11-lang desktop-file-utils gettext gmake \ - gnome pkgconfig + gnome localbase:ldflags pkgconfig USE_GNOME= intltool librsvg2 libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-jack \ @@ -39,8 +39,6 @@ CONFIGURE_ARGS= --enable-jack \ --enable-guile_1_8 CFLAGS+= -Wno-error=return-type -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS EXAMPLES LILYPOND PDF OPTIONS_SINGLE= TOOLKIT @@ -65,6 +63,12 @@ LIB_DEPENDS+= libevview3.so:graphics/evince LIB_DEPENDS+= libatrilview.so:graphics/atril .endif +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|-lpthread|-pthread| ; \ @@ -103,4 +107,4 @@ post-install-EXAMPLES-on: (cd ${WRKSRC}/examples && ${INSTALL_DATA} *.denemo \ ${STAGEDIR}${EXAMPLESDIR}) -.include +.include