From nobody Wed Jul 26 17:47:20 2023 X-Original-To: dev-commits-ports-all@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 4RB1Z11rfYz4pPpV; Wed, 26 Jul 2023 17:47:21 +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 4RB1Z119tfz3khT; Wed, 26 Jul 2023 17:47:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690393641; 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=3r9NJlrPsqSt/1sz6r64gwS/Gq+BFrYNZxzriIwHhI8=; b=P3mgyDr3QbZFZ1fMjvcljpi2FuQ1tFrONQbsV8oUfMo/DHAAb+LfQn2bAfbBLDft5Tjw4I xfxg829w+8XB9DkHssUxBGEBgFAM6Up2S9kmyNUSxD7d/JMKTUinfHdC8YGasxXLv6p+rQ NNl5SP6pB+49RQt0PKcNXL2DjFFwwn3IoHZyvzMrN+N4wMdOrSsjfGtdDqyZpduCwdxFnf hIIs+u/sdosWvHfdGkGjbLpaHQYcKtbuMuuceuJBbTxnBGSP5vveLfsBeAIuP75pyCOngv IwYOh25i27h47juWCHq2tSeHj29YEnhtN8RB3ESftG5oMBIJJ5lBJiZ3Sxrseg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690393641; 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=3r9NJlrPsqSt/1sz6r64gwS/Gq+BFrYNZxzriIwHhI8=; b=sCloQlLL8Ac+WK3TJN77a9Sxu4YExT0Cbuyc76Tex0Y6eqnIB4Z7A3u9wE/KVVO4+MM11E +mFug6LQMzSofiycFcA7W8HE8RoBaqg+HMlZN5G3eyw92MV7Qa35n9YAG4OZk1TRVcCpmQ nmjLIaC7tEgM3S11BtIaWqzBNGkGQJIJ4owyDDNurc3czXwYl5doHwiw6JXYdB5wZCj80t nU3vTO9FjyiJSNsx6xEy/2INQXtJisT/R1MXe2kCiulXNIF1g9RReL/cAnC3e6H8jQKg0U JaNdnLEQ2M/to3yzP5/DI57wB28DrKNCCloZWDY1HrDK4smPcwHB9KO3lctt0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690393641; a=rsa-sha256; cv=none; b=X3/BKFnYl+syJN2otTDhPSuZ74j+pJ33kCFCL5/kQ+PGw3gUgfMrxOTfqxBLOyj7eM+5Fw YShxjDmYaM2+wvuT9rqAOyFcge3c49VM5puPP0BpA+lqQ+SkcrFAsNKLKEA6Uys+kZQCTr 2FThRzlPH0B63X6+nED/9/15sDVkSnyM4lJcJ2LGAqnaGaqxhLddRdAiAu527DCP8Xe8Rt Gb8dcl8yiuv71HchbMmAqIk/rHpMqA1TVknnKng7JeMPnWzw+QtwQPgkdLPP7oWZ+76DU8 3PBD18kDuBP0bB+enusPT0F5TAdk9RRPK+I7dKeySw8nrSAmeRC3SUq+ZPoKQw== 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 4RB1Z10B2MzsDy; Wed, 26 Jul 2023 17:47:21 +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 36QHlKIa053313; Wed, 26 Jul 2023 17:47:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36QHlKkR053312; Wed, 26 Jul 2023 17:47:20 GMT (envelope-from git) Date: Wed, 26 Jul 2023 17:47:20 GMT Message-Id: <202307261747.36QHlKkR053312@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: 6cac88af1bce - main - cad/z88: Fix build with llvm16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 6cac88af1bcebeeed8774b6a169064c9949122a5 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6cac88af1bcebeeed8774b6a169064c9949122a5 commit 6cac88af1bcebeeed8774b6a169064c9949122a5 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-26 17:39:31 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-26 17:47:06 +0000 cad/z88: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- cad/z88/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cad/z88/Makefile b/cad/z88/Makefile index 4cd6f43af8a4..7dde7deb3d09 100644 --- a/cad/z88/Makefile +++ b/cad/z88/Makefile @@ -35,6 +35,12 @@ Z88_DATA= 51.txt z88.dyn z88.fcd z88elp.txt z88i1.txt z88i2.txt z88i5.txt z88int OPTIONS_DEFINE= DOCS EXAMPLES +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: for x in ${BUILD_WRKSRC}/*; do ${REINPLACE_CMD} 's,z88v15os,Z88OS-15, ; s,gcc,${CC}, ; s,CFLAGS =,CFLAGS+=, ; s,-O2,, ; s,LDLIBSOX,LDFLAGS, ; s,LDFLAGS =,LDFLAGS+=, ; s,--copy-dt-needed-entries,,' $$x; done