From nobody Sat Aug 05 18:56:04 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 4RJBcj1pNhz4mPw8; Sat, 5 Aug 2023 18:56:05 +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 4RJBcj1JVTz4cgD; Sat, 5 Aug 2023 18:56:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691261765; 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=7HqtbYTv9ZkZx7kya7MQ0Aaina/eNmCYB3uJyw4BYHU=; b=W/+3zg1xLbf9p/8oXQAQGtcGIfhdd/WlK3mEYumURnBmRSVJMrydaY2nWTZ3XqWbfYbl14 l094C5+X/Ow5aod52bsJktJyk696sdVd1LjD5luq7N3vfia2RPJttMPAZ/6zrrXP9JHtse LjcQTbZKwLy0L5JmAqjZrN7VxPZFO392IC/6x5AXmpwGYhCqhtVIh36ygRbndg1P1z4VEj NGUX1h0BBJWWGrAQAQym3A3r5CHJJsrQaxEu03G1R2HzpsKUO/oMxHVM1qTt8qN34vSMMe wl65WsAYSBF0vIAikNm9dE9F9StRkjNvMsSFIgx/nrkD1KWvofAIAPhlJqU3mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691261765; 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=7HqtbYTv9ZkZx7kya7MQ0Aaina/eNmCYB3uJyw4BYHU=; b=a+fw3Nfu39qwl1570JyHBjiXiIiEx+vH0TWZQsNZZz/tPvF48H+qkIqF40NmjFjpMuhak7 h5FvpGFZsLxq8iQh78FuwP37QjXbdCboizGSqzjYkZmIuITZ3F0sSCY8xC/+Q86dsRZKvs AKxCQQ7dULmSOfYmcLBVrxl/NxVJnThU60uKF/aK4gqHAr2oyJeZQG+U5GVNO29QbWEQCH LF5I4dSvMZaPEs4W5rjuGMLg7BaZ9fmVsrZz5fu+rSBSw31dJGiOWHUnyyW+KVxtz8/51/ NhIIAdyKtYjH8y7SqHo4PJ0QySZ4ZbEqqxBkej7t5Xt5JkLozaReXD4uRfHflA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691261765; a=rsa-sha256; cv=none; b=Z+K2kVycypxNtFmuJnrlOvJUjERZHVr0NisUKKZrLMxQ8QxrC0q9Znv1E/RqBe22ojp3Hq s7LLsTUFQZKQzedBH6Zu+JZyYNaSvpc7mWXmQ7jvTe7n2SNJc1R1Pel4DVB/vhgkH6frmo VVha7MUbfPdojxJRYrHx0p5k5KR8wrMYOf/K8Q0hA8BHZbMkQSabJOtiiHWAmKNzGjmWM4 uBKhbGhICzeBfHPB7FwCRNm4pQNTvzcluMKKAA+AekWPAvTfisEbKGNcD3X4+hOJCrC/Co tD2uBms69NlpV1+gcYbPJHWlIPFrVbGI4TIYIp7V2Hdy2UV9KGjBiFDf4e6F1A== 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 4RJBcj0NMpzgLp; Sat, 5 Aug 2023 18:56:05 +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 375Iu4wL075866; Sat, 5 Aug 2023 18:56:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375Iu48S075865; Sat, 5 Aug 2023 18:56:04 GMT (envelope-from git) Date: Sat, 5 Aug 2023 18:56:04 GMT Message-Id: <202308051856.375Iu48S075865@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: 1e99fd383698 - main - x11/wdm: 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: 1e99fd383698437d4ec00ceb1dc76d03d59fa434 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e99fd383698437d4ec00ceb1dc76d03d59fa434 commit 1e99fd383698437d4ec00ceb1dc76d03d59fa434 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 18:48:51 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 18:55:51 +0000 x11/wdm: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11/wdm/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11/wdm/Makefile b/x11/wdm/Makefile index 01091b42e355..f1a736db4fea 100644 --- a/x11/wdm/Makefile +++ b/x11/wdm/Makefile @@ -50,6 +50,12 @@ WDMDIR= ${PREFIX}/lib/X11/wdm PAM_CONFIGURE_OFF= --disable-pam PAM_CONFIGURE_ON= --with-pamdir=${LOCALBASE}/etc/pam.d/ +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|/usr/X11R6|${PREFIX}|g' ${WRKSRC}/configs/KillConsole