From nobody Sun Aug 06 23:52:39 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 4RJx8R5MSPz4pdCs; Sun, 6 Aug 2023 23:52:39 +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 4RJx8R4mylz3RSZ; Sun, 6 Aug 2023 23:52:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691365959; 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=2h0wZszRSkpAHOxBFJf0ahzThtmwBBlvliEj0e+sEts=; b=izAomRvXjFO5wGPxGKa0nJVx5mmj2mF5ajV+/0xS+zcG9hBvtw6qIXmC90nz6m0Jy6vxwG RoAcJ1bnmJaeSy85DU85Cq16SslWGt6MOx6ohX+aV0s14k5WHAOWEEIbGiixBd1cDWWbsY 0TRGX53Kea/6n5YfU9AH/iLuy22HQRWKSZsGdBIRxuECPvUfiOSYX6L30dFKXcwyKXueVx L/y9O7Nkg5rTZqNjIuC8x1wrFaTfp4t1XEkzzJnzFr5n79Jj3nfQxU4soVOROk8CKK2O97 FbrKR9jxZUn0krIc6fS6jEba58zlNx37fRG8ZmeWrTk6j+ciGWvszkK0bszNiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691365959; 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=2h0wZszRSkpAHOxBFJf0ahzThtmwBBlvliEj0e+sEts=; b=NQLyp1Dhm/JJe/EipwoOMmVOLUHTq6TTsEc+d4AV5ZptoNvNL1dypbajapuZ4QZs0fcsrc xdhlJiKwgvJ6jsB59Zgz8n7f23vGngSfsy0BSNi3XLIBZpn2AsXrx+6k+oX7Ra5hGDeeYx 7vHTWP+TtY7sA6LYkScLJfojZCS8sVHzD837Y4Uj0nUBETmZ1IcKKJGy39xTJoMrLUkAc8 QbeyXSpMDtdOuKwdF42qSKX/cB1YZaoCMVx/cOIgLF7xB2FVf3JEt5C2qHRg/iDGlQQivL 6/YFkEzQkK9bCiz3e2bktFWrgyHkUaF6a9l3TnZxBiXsshEQU//9FSrO0k7L4w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691365959; a=rsa-sha256; cv=none; b=TxQYeBu/9pEPB+dyKg1bNBpPCZ8WT/TERFpdEdJD3LE/XEuUP6Xdh8BlxpdaJh3sC/NFp2 5NNar0jwqysH1RM3f23Am61bpDdzlwbbnxrGNogKmV1+2NMX6J189foAET6V4nNeHEKN6B Gn2vl6YGjsJzRYuGXMOZr4q7ddQMH5/dfd6PMmKp1l8Yr4Ot7CD7sTkHE//R/+fVqBjOnN 1Pql8fZfKX0UPxxCECkVBVgC/ldT6XglGMXPgUsezubjNyqrqTvn5olsZ35V2w1p44Eif0 bv8QRndjmJ2xkixOY2E1hlshqbETnxQhpqGILUIrVtI6dlc1bfT+Z3fO9KxICA== 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 4RJx8R3t9JzWVJ; Sun, 6 Aug 2023 23:52:39 +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 376NqdLe075470; Sun, 6 Aug 2023 23:52:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 376Nqd0l075469; Sun, 6 Aug 2023 23:52:39 GMT (envelope-from git) Date: Sun, 6 Aug 2023 23:52:39 GMT Message-Id: <202308062352.376Nqd0l075469@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: 2f960e39ca57 - main - sysutils/socklog: 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: 2f960e39ca571ceae0d5c645b806a3377179bff3 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f960e39ca571ceae0d5c645b806a3377179bff3 commit 2f960e39ca571ceae0d5c645b806a3377179bff3 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-06 23:14:06 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-06 23:52:28 +0000 sysutils/socklog: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- sysutils/socklog/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sysutils/socklog/Makefile b/sysutils/socklog/Makefile index 28209b5403b6..f793aa85428e 100644 --- a/sysutils/socklog/Makefile +++ b/sysutils/socklog/Makefile @@ -22,6 +22,12 @@ PORTDOCS= ${TEXTDOCS} ${HTMLDOCS} OPTIONS_DEFINE= DOCS +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-configure: ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc ${ECHO_CMD} "${CC} -s ${LDFLAGS}" > ${WRKSRC}/src/conf-ld