From nobody Wed Jul 26 09:40:23 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 4R9pm72nKgz4nrZd; Wed, 26 Jul 2023 09:40:23 +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 4R9pm7229Gz3Kh0; Wed, 26 Jul 2023 09:40:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690364423; 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=QYOgNS0MsTNMQnTwV642M5ujwzTfwDJ6wHOmXbSr3mQ=; b=Zue/SfA17/vzbkpfBjYl91Kpyy3AHN3EWxe4cuVgVXDmmbfN21Rbo6ozCo2OC84ZcILTTs XLVphDyJOjM8Iqb/u+eRQPAimPiQ8P3Ai7muxkWrv2ELM+JyqhVQivvHJyjmN6mAEk83BM +2baMVEFY89QNMtgH2BgugFiB1S2Ktlk3EaH+wDGNZqzBnaytj/if4A7+BSvVE9bC0P5cw j53FrDEkmis2mid+p+e4u2duExmUCqde2voCYQlIN6nQMcQuWGQ20jztvQRXAL+Z/rigwW taRD55HliwEzoBOTNyWCLQXlXr0re6+m1EkCdAepe6ifcPqhu1hDnNRu5ELojQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690364423; 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=QYOgNS0MsTNMQnTwV642M5ujwzTfwDJ6wHOmXbSr3mQ=; b=gWwvt3RS12DYUcYaMgNydv1RKwjb7s3p0caXcQ9oyeMvOln4F6/jEd8sSHF6EKKJsblwqj edv8yXG5oSpW/pTjcQFwMgdGfUsr28vJx3GeS41Vbdl+DUIuwRVcvpjLL5TjetOasJAQf6 Gr6gJR811jajsvtdofrOYSQ64/WqDFa/oj4+OgKmquQgSsRz924t7epxyMk/IPdTokLEOc ssse73fHKs6mZKRPe53fmMhM3JwpHud9sJkdlJkClUbSZ228lOmM0V+FkGf2U4mefiKYQK Ig03J+b4X/3kesGpZWE/NRvLxILE+fLvSDvUtwzTMNfmoF3CH86dIqR8SViudQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690364423; a=rsa-sha256; cv=none; b=PfBZ+jjhMjWvIwknUlgvGJX8Y7HwQ2dSx8NVw4vzo0Rz9vxZCu/2yTaxW9pQTqEIYpoWHQ teX+8I6aHc2S6LnkOvuWAcvz8xLGi8lBhr8BQU+hMJY+ykItYvh3be30wPfbmJaIj38yKT Cf6iwSyNn9CQ9O8OSlbM0+AUNqXsJKXcdRqYdXQaLbwJh1580jYjPZbm+UK384R9GHTB+Y Vf9gB3djpb9Y4E1AH+N9ygdXBvaKBACutfzWaKBKC/ZHrb9xf9LxKRyco9DRyTBxrPP16a jMcil7gZhe/Lga2IAI4Rer9ITyJRzBacDpTUMvPzdOw3ivwF0ONkMab1YQmJuQ== 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 4R9pm70vMTzd3Q; Wed, 26 Jul 2023 09:40:23 +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 36Q9eNLc050310; Wed, 26 Jul 2023 09:40:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36Q9eN6f050309; Wed, 26 Jul 2023 09:40:23 GMT (envelope-from git) Date: Wed, 26 Jul 2023 09:40:23 GMT Message-Id: <202307260940.36Q9eN6f050309@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: 423c3ab55d07 - main - games/nethack32: 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: 423c3ab55d0759d882ffe6afcae803c67e766328 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=423c3ab55d0759d882ffe6afcae803c67e766328 commit 423c3ab55d0759d882ffe6afcae803c67e766328 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-26 09:00:52 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-26 09:40:12 +0000 games/nethack32: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/nethack32/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/games/nethack32/Makefile b/games/nethack32/Makefile index 89f91c16aa0d..88ec84832b94 100644 --- a/games/nethack32/Makefile +++ b/games/nethack32/Makefile @@ -40,6 +40,10 @@ PLIST_SUB+= HACKLINK="" PLIST_SUB+= HACKLINK="@comment " .endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: .for f in include/config.h sys/unix/Makefile.top sys/unix/Makefile.doc @${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g' \