From nobody Sun Sep 03 10:27:07 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 4Rdny35BW5z4rVcw; Sun, 3 Sep 2023 10:27:07 +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 4Rdny34Ggsz4TYN; Sun, 3 Sep 2023 10:27:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693736827; 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=8GumSeCMD+JE+iyjP2jrlNjPFtu8xHfRiJF+l3nq8Zc=; b=uMb/9HPTNJwdJx2IA6o0auJTfehOuxrSOz2QFeEwUn4LaaDK8ttL5xKwnWJNZYwMNcu9VY LC2+BVTy2Hjb8mISS7AU2GOj1cbqsHPutsz/KlUExHM908zbIvjXpNAS1dZ8HVbR0FNs5V FMOKb9mDVqEls10lUOZYZh/0DLD6QNnR89wgqdIZ6m1QpAlACD/2xNLT6LjmyKvUHV+gW+ a8Sp13/wGM0z4UVWU0mF3jODtCfqzPx5amJucYP5mM7ZoH8/Eox9WqBXM0C/Wa76EytW3K dIDlDb6mPF7EcPe341qnBI1xmL3idDjAvUtJS1aqOLbzZXxnD8f6mbfSaWZ6tA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693736827; a=rsa-sha256; cv=none; b=q5lc7SRwkbPWtMD1YjrEwtBzS9vlnvXMDreJIP+0t1JZ9Yr137ET+Ypg7+JpvENZIjfmP2 TpzooPSRWJa8ZfZavZo+OwWC9B5er9VQugOmKl36LXLqiaJxfjIla9DW7FY9chcSqmkBWa CylyNPoD/elg36Lxx71BbD/XmChwyQlLBE32wrnUqVjozzh1VzAMUISHRUGU+hs+/8qx48 IZo2kilteIziMTlj6LpDF6nzRWpZCz4ngf8vJjdiXdS6eupKZpY471OSl/YuZRfKvW4usB +hcb8lWHr4VqYS2u5Fe+rMAQ46GWryWH/kxDTY0mKG7Xub34SPLR4bK4k625iA== 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=1693736827; 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=8GumSeCMD+JE+iyjP2jrlNjPFtu8xHfRiJF+l3nq8Zc=; b=W0UYJYvxRbhbWSL/qsHmOxUwRmaJ2AxbTiZMIMJX44j6s+8S3TE+8Dp3eJ/l4fyxL3svL+ 7HQls6gAhRXhkREC1f3nXdrrYqoCpS4Sd/86eaog8RFqoEkofaayPJPKgnHr7o270CycMl rIPw5udvYGlGdhWTslDpwdNubOVrsIAbkdwd9dXxqu346R4CEP/a8wxmn1BIbrWE8tcch8 flT42Vpeh28ABGK65ZPe5LBfnwTLhqWez3X2FRSKd8wMKiSRM4tCDW11+BsVILXxdedNz9 yDNnvcCYnXBaFH/O78+42/bbHa7pc+gYYKoajgbRwJm9f91+2lQ8DT7BUt5eig== 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 4Rdny33Hp7z6C1; Sun, 3 Sep 2023 10:27:07 +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 383AR7PU097362; Sun, 3 Sep 2023 10:27:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 383AR77g097359; Sun, 3 Sep 2023 10:27:07 GMT (envelope-from git) Date: Sun, 3 Sep 2023 10:27:07 GMT Message-Id: <202309031027.383AR77g097359@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: f4c28b489119 - main - x11/wmenu: 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: f4c28b489119fb134e7873047aea1aa643219d70 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f4c28b489119fb134e7873047aea1aa643219d70 commit f4c28b489119fb134e7873047aea1aa643219d70 Author: Muhammad Moinur Rahman AuthorDate: 2023-09-02 12:15:02 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-09-03 10:26:53 +0000 x11/wmenu: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11/wmenu/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11/wmenu/Makefile b/x11/wmenu/Makefile index 8764a8ffe766..277d9948eef3 100644 --- a/x11/wmenu/Makefile +++ b/x11/wmenu/Makefile @@ -29,4 +29,10 @@ LDFLAGS+= `pkg-config --libs epoll-shim` PLIST_FILES= bin/wmenu \ man/man1/wmenu.1.gz +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097 +CFLAGS+= -D__BSD_VISIBLE -D__XSI_VISIBLE +.endif + .include