From nobody Sun Sep 03 10:27:06 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 4Rdny24bXxz4rVrv; Sun, 3 Sep 2023 10:27:06 +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 4Rdny22y5Sz4TL5; Sun, 3 Sep 2023 10:27:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693736826; 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=TmrIQhfIPdyRir1/sT5yIKZjDWd6iO01pwkkKHLDp94=; b=FuNxisuU9R0dyHq5hWJ7wI/xuoERqd+GwNUhxWIstCbGdBf8fIqVW8vfYKeNQ6HxkvaPwp sh5Sqrg5lOjbK86P/GbO9Qbqa7Zt56SwYSWLcxsh/sUV7pgbBh1ZTsCxLnJizqv/kO+1b1 25EohSlW55lezzh9scB+OfdGRev5hHdiLI7t9drv2Hk5+qGajZouyFDL9qQ3Ew4f4NT76d A5FR3Vmt2zAtE30F6FP1WTUXyPzK9qAmGQsDAY0h5/c3KDa95naEuXAiySlizowUnSajaH 9dhNk+hPpZGLgFyqk4DrbONeSe7nVyN4CIKNJu6YwXg3kCz/YPwgP5hDTSbxBQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693736826; a=rsa-sha256; cv=none; b=rv5aOelkHMvJB8du+0xs4wYr/MFvnZDdAf4vnDAMOY1uAAdkp4OH8iT/bf0qNddCBYfm6E W0YxBPugx5oQ4rAd6RgNHNVpLrCbINmwYRy70a18OJBROBRAAxPc61Tm9ddfHaxtNuIqU9 XyalwRaDAiqWEtg8VO3Yn4difrWmUM+X+8JzV4YVX6+gPmpMuC7HSyuh7C7RPIX3QFCBYq LcJOU4Bq72xP1fhlwx5B/59Si6cyd/xbeysPyInCCZlwUwtRFJTeqKoTUaw8JPhcjKxX6Z A26Gm/yLhNY5+d04mteSm/nQrm9EyHZjf/NX3lzHicxzTgLD4dhIlqlr529lnA== 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=1693736826; 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=TmrIQhfIPdyRir1/sT5yIKZjDWd6iO01pwkkKHLDp94=; b=UsaD1FHS7Df6289f55q+3hgCWuv8jZsleVdK7GlIvGayQpPPGinIHZifzh7Gkx4v2+zwxT YBwvhc6aAaxyRy4xtiGQWbpcYcJX4z5PfuDIQBBxH8bbEq+81VtxyJzZEbEDS0qLuvjjD/ f/jYxcsptYUMvzqCE+HRZSgk1MoviOQhpcPLFLF4LbxcvpTUzD2KKst+Mhfmfade5D8+j4 fjPBT1seYiBRvSKARWi2tLHulrMfiPL0rWAemhwdA+dHm1FBdx4jGYa9CqJAv9M+ijwrrm 6glwvpM4r2CVdYf+G3fdxSreQK95ITxdiix+lVVBJC8A+lF2AS94b+QXL+PlgA== 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 4Rdny223hmz5qJ; Sun, 3 Sep 2023 10:27:06 +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 383AR6IQ097310; Sun, 3 Sep 2023 10:27:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 383AR6D9097307; Sun, 3 Sep 2023 10:27:06 GMT (envelope-from git) Date: Sun, 3 Sep 2023 10:27:06 GMT Message-Id: <202309031027.383AR6D9097307@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: 4458b6d2d931 - main - x11/mako: 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: 4458b6d2d931d462f260dc06fb7b9c7fa1f707aa Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=4458b6d2d931d462f260dc06fb7b9c7fa1f707aa commit 4458b6d2d931d462f260dc06fb7b9c7fa1f707aa Author: Muhammad Moinur Rahman AuthorDate: 2023-09-02 08:39:00 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-09-03 10:26:53 +0000 x11/mako: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11/mako/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11/mako/Makefile b/x11/mako/Makefile index e34c522d0167..90ee554be7fa 100644 --- a/x11/mako/Makefile +++ b/x11/mako/Makefile @@ -37,6 +37,12 @@ MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \ PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= icons +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097 +CFLAGS+= -D__BSD_VISIBLE -D__XSI_VISIBLE +.endif + post-patch: # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},g' \