From nobody Fri Jun 09 16:55:11 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 4Qd6dW6FJSz4bVrX; Fri, 9 Jun 2023 16:55:11 +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 4Qd6dW5Xcwz3nGt; Fri, 9 Jun 2023 16:55:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686329711; 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=39xMwq4MZPj6kN17QxY73lB0HEEY+Mldd2j8pnrU2gc=; b=FMtJqUvyMIyWwm/1AissDPhnzPGfQkiO7In1LGeGcfj6QUdpUcM1glCUtrYmcojfVyAhmv 4a2PwKjSiu8R++ruDx242ojaP5gVQyNA1ShPZAxgAn/4JjFDwVRHcNItD9Z3mNUU0O7tam A0vuQbJR2S1/4nGXBgmehdafNE6ExRrez+evARWzvw4vmWS76OBH6TYO3Thu1uR7+oMuig YWaTabhBoPjwniO/V1a4qyhUvq4nPnPfmwQ8RXe34fsIerTTyzW4EjnmEfTDWBgdDF/blQ PImCJ87YMEM67yZ+3Bv8iNmtBy0cID9sIkxBAysCr7I+ZEkDMqh6z1UNUM73og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686329711; 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=39xMwq4MZPj6kN17QxY73lB0HEEY+Mldd2j8pnrU2gc=; b=hKInZdCqBoM7R0BZsMs16olCxxttHOd+KWGtbPvxEiI1EEg+p0K/Df1AKzHkchLUacyUKg 3Ms4TRLnn7SEUQqNMXaY3Nr1Tt5GTJmTRaKS8vyJBk0Me8fuvMEbsMLY8tXwsTaZLBBvWw fvyPYnj20WA5OvZflxBViPpzVlSYWfgip8Cjk80AjUcTGTab9ISaxtm9/7/C8YkM/PIPu4 sJqKVbiOyZbCb4BepUCIgpjIHhO+eUa/LRxz+i/0t8JUAgefXLdNIiLh11ZRilOKejkmkP p/yLScI8L2s4UNSPuXxTSHtNUoqTnXHRao++eXJUAkMl5Tv4WOFJPt8zxz16JQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686329711; a=rsa-sha256; cv=none; b=ZgVG1vWmD1jyjBPmZHC3SgPTgz8HwOJyQl46oc2bfh0ePWpV2gufd0kdBWY3qTA5q+z11M kmlXz7gjUpgWQbqHcS2liu0HRwpGECgv1UmsPE005ECjmXxzrRb+UJuxDgu5ITcFx0VM7U R1oD+EHYyQl17aqI60eka5PzWxNouZy9NKVB2YMXjbh36XIvb2vow5ofR5G4C+QecDpA82 dck5bg+wceJIMvZ2cnam/z07/P8YWRMxeTisjAn/xM34F/Gku4V4zIEyDg1pfWG/lIs79a bmUyWkRcV+ajkJ8ygGh7lAGjJHqMKXtUis7a02Gt0UOiZoTwtCxhEBpEyi1N2Q== 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 4Qd6dW4VH6zjsj; Fri, 9 Jun 2023 16:55:11 +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 359GtBM1074168; Fri, 9 Jun 2023 16:55:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 359GtBEf074167; Fri, 9 Jun 2023 16:55:11 GMT (envelope-from git) Date: Fri, 9 Jun 2023 16:55:11 GMT Message-Id: <202306091655.359GtBEf074167@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: b9164f1a0d2d - main - net-mgmt/sendip: Fix build with llvm15 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: b9164f1a0d2db2a9f871b5ca5da1d5e66a75b184 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=b9164f1a0d2db2a9f871b5ca5da1d5e66a75b184 commit b9164f1a0d2db2a9f871b5ca5da1d5e66a75b184 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-09 13:41:01 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-09 16:55:03 +0000 net-mgmt/sendip: Fix build with llvm15 Approved by: portmgr (blanket) --- net-mgmt/sendip/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net-mgmt/sendip/Makefile b/net-mgmt/sendip/Makefile index 067fce76b2cd..03e4088e07b7 100644 --- a/net-mgmt/sendip/Makefile +++ b/net-mgmt/sendip/Makefile @@ -22,6 +22,10 @@ USE_LDCONFIG= yes CFLAGS+= -Wno-empty-body -Wno-constant-conversion .endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sendip .for slib in ipv4.so ipv6.so icmp.so tcp.so udp.so rip.so ripng.so ntp.so \