From nobody Sat Jun 24 10:59:06 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 4QpB1k32t6z4h9wc; Sat, 24 Jun 2023 10:59:06 +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 4QpB1k1zPSz3pFC; Sat, 24 Jun 2023 10:59:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687604346; 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=QBgIHWCej8zm+FW2rY8Oy5fT0O+zxe4Aahs1OTl+qIg=; b=HUSdUKYc3aLgy//8Biw+8HWVsis8gx5K+zg0CAF7JMRKTPpKtZdEFlcawyyN5bCoGoRcTb /fvZvm7MnIgWWjO5WU1IcG/3RLWMHr7d+RI/FY8yujhgzKztLNTEuFuRfhjcYMLMsnDYPf Q92ASoLHFOoOrhJJWGHg/q5ipEqQ9m66RS8wSu54VQqcMeqJMzTO4GFS9Kc7xkUZLUkSCz 4mfOP/Ok1Ck8+NPwMn6McCzASG3FXjkhkKUEGLTjC3LaWpdj39OBlFeHyVOYUAhaEmv92d ZUpjRSqQyCDldmxI+E6dDEaZKjNYTy4Z+Da5RLi8LxjiMhS/1j5WuaCCsUAYaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687604346; 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=QBgIHWCej8zm+FW2rY8Oy5fT0O+zxe4Aahs1OTl+qIg=; b=lcSb4U2uSnQLSuaWxgyu3CgjPLN5eZbBEW33slr2Sg8wjKI7695C5zsA1NLksfowTmDvKV gXOKvwu6/2Tq/lyt5OUq2XOM9GqEgWfiL1xMUjObT0KvSYGyOX4s7de6EGZbQ3nnAron3x xrpWRCr8swzMXgO0gp91/3Sdj6sVsnqC2gaGigvwSmN3MM+tvTUV2PvgpSkfjKiP0hniVV h5eiEMOCOcAmNPYC6A3iM3ZbWzB6UcMpzbMY2d/OQMoAuwVSCNAA9Td83qE1QoNNHBUjFQ 5TGY4hmEDC3xJgWBd7lgUREGs6moZ1LUvA+BLZejY7tgaIeHUo/4WRg48XXCVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687604346; a=rsa-sha256; cv=none; b=duff1hGoFJzi6X0WK5IJEKxPZ+0+LXUWidm64mfNX82G8d+WlTI9Tg3cU2IMxdPWqpnjio 3nx5qCxB/4Cl5QTgyRrDvM8tmXV0DB3Tw0Dr/2gZ1PMC5jBoR2ZyKCj4qgXxp9OXeJDpNY BmFN+Sjm2oi+7ekzCADNPSLJf8fYnArf0X69AnuA7gVmhdyVINuTl2pFLCGGAs213SgbIh 2T0w7RHOgjV45waHqG4/RU03xb79KXJ2C2E22kqZByJOaHY3MNrLBzQJUqbJUSW2T+zTjf R9v4rn1YZ0m78a7JUfity3qv+B1/aMDpbd6RqDca/xWDiBKvQmYH61xetVnleA== 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 4QpB1k0skHzk2j; Sat, 24 Jun 2023 10:59:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35OAx6hi099536; Sat, 24 Jun 2023 10:59:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35OAx6nN099535; Sat, 24 Jun 2023 10:59:06 GMT (envelope-from git) Date: Sat, 24 Jun 2023 10:59:06 GMT Message-Id: <202306241059.35OAx6nN099535@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: a5e7345813f4 - main - net/sniffit: 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: a5e7345813f4856af0722216c146641f1269b011 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5e7345813f4856af0722216c146641f1269b011 commit a5e7345813f4856af0722216c146641f1269b011 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-24 10:57:57 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-24 10:58:49 +0000 net/sniffit: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- net/sniffit/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net/sniffit/Makefile b/net/sniffit/Makefile index 5c44a5560669..40b1c93ce961 100644 --- a/net/sniffit/Makefile +++ b/net/sniffit/Makefile @@ -18,12 +18,16 @@ GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS EXAMPLES -.include +.include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/sniffit ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/man/sniffit.5 ${STAGEDIR}${MANPREFIX}/share/man/man5 @@ -40,4 +44,4 @@ do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/sample_config_file ${STAGEDIR}${EXAMPLESDIR} -.include +.include