From nobody Sun Sep 03 10:27:08 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 4Rdny45dB2z4rVd1; Sun, 3 Sep 2023 10:27:08 +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 4Rdny45Bd6z4TZ0; Sun, 3 Sep 2023 10:27:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693736828; 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=UyoSBuuiJ/kgqC4ReRk0urC/YB2VS4OzeO8VhjWjBiE=; b=IIhvT4hjW4LDcRSdbfRk9aAlpCUsBi4G1t10O6MKF55UFgN/Af6XAB/vrP8wQZWca7+0ja ZOg/vQokzm41NitMTc/mGJG31Au3mkOUYyrSwHs/KmVAv0Cb07xhPRXsgHsYu3Kc6vBL2U pKsfCdsBtsJQRSylgfPSQbPdQAVt5g4kRJMnwAk7GUgXkF1mjgslhNKqya6r4cDmuAdXPA G933+N26LJdmslVgezmp0XX3u7BCYV8vOfnqlqXWCAGboptqTxwAQRGpJmcqF0xn06IW0b kc7f7y+uKF4ZWywaM6mIhnQOo0EQtMm6q/yVZg3bLj6C2uIyOliufSgJft7Weg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693736828; a=rsa-sha256; cv=none; b=oeQrolesIUV4SKnd2jIB4I4RQ2bYQ5Qbq3TA1pW9xvRGFZZU8RD11Tj1VzoO7DSf9Dz2Yt c0T9uBYts9IgXptnSPVhLbv3CBM6/BDhvgCiCwriERS9DM74wGc0pWairxhEcWJcE1kd4P icP9L/198hJFkmEexvSNAGTF1RFWs1a2Yfm3YPWmjc2oWstPs9KiOuB+rgFYpGg1NUiwkx hu4h7+PKNpKi1aKzRg7qBGUFUlhj6coukL/qGRDeMvcDmC6i+rgMUBKpLxDtNMVKGv3jn6 hQmzOpmngLsLuzYJqdqyAYRdMBV52hitH3yrwjluoMpITphwV84w2hb1dtOWnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693736828; 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=UyoSBuuiJ/kgqC4ReRk0urC/YB2VS4OzeO8VhjWjBiE=; b=OjfZ949kOIRY7mYJ12Ywm+Z1N62YFmkHAVjIAPDV3P70aIJGHqA+a2Ex/0IkTkgibomoSP VMzuGn8DQjP6PjLihDIObOrLaemcLpIbjb3HVnhRMO29Y7iexh5OwMjPC+vTnQZ3VBfWD/ ReqFDF/3B69acN6EtciamyLzEB85WjcpdqyIOvvBKlmfYTlg9aU+zCiOTFo0jCAfwqwUtD 5cNzsKW3Z0OrZXsEXGvUfTpGZ3fYVAY30kGX9+V0WMyF7t5gR/A+OKNUBsA1iGMbUL+BRN 7OcOqf/2ZD9onSeDgxIl/GcDpUJCe791rb26jTiizwaSCQZOxJklVSdJlX9oBw== 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 4Rdny444Pjz5qK; Sun, 3 Sep 2023 10:27:08 +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 383AR8cD097407; Sun, 3 Sep 2023 10:27:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 383AR8Y5097404; Sun, 3 Sep 2023 10:27:08 GMT (envelope-from git) Date: Sun, 3 Sep 2023 10:27:08 GMT Message-Id: <202309031027.383AR8Y5097404@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: d7c830340dbb - main - x11/swayimg: 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: d7c830340dbb2e33451d3ad36ea5a707d0d222b6 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7c830340dbb2e33451d3ad36ea5a707d0d222b6 commit d7c830340dbb2e33451d3ad36ea5a707d0d222b6 Author: Muhammad Moinur Rahman AuthorDate: 2023-09-02 15:44:39 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-09-03 10:26:53 +0000 x11/swayimg: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11/swayimg/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile index a81d7e09f0cb..66f38439f841 100644 --- a/x11/swayimg/Makefile +++ b/x11/swayimg/Makefile @@ -78,6 +78,12 @@ WEBP_MESON_ENABLED= webp ZSH_MESON_ENABLED= zsh ZSH_PLIST_FILES= share/zsh/site-functions/_${PORTNAME} +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097 +CFLAGS+= -D__BSD_VISIBLE -D__XSI_VISIBLE +.endif + post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \