From nobody Sat Jun 24 12:04:07 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 4QpCSm2Lzzz4h7GK; Sat, 24 Jun 2023 12:04:08 +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 4QpCSm0BmLz4K9J; Sat, 24 Jun 2023 12:04:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687608248; 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=q3BztPE20zmzI8Rsnwdpp+UHfiCyaApNP6XUXiPFVjY=; b=qnooPhGOJTAPAlskNGdvWjRKeYqtELU77Gofmbnop5RFwYFzsxQZQJfVTRqwEPmRCn0kND cWEHjbdVBaC8fMl8/xgIrfRi0dR8Qb5xotCLIzMfe3tBWEDu6S/86chEyWis/ez7WGlTvT g/ccvIhoenT55fTx9Engqo2EtbqdxMbyvSGzpW73k0DhGYHE6gF+1k+zJBv8bc0PMi5Ika P6Kvh3xlF107HyQqbmbR+UQ67UIRCFjobMF8GHAYtwoUjv+2frjC2arkyoOpBxtEAD0wBw 4Ku8JlS+1yzCb+/i9Mp6XHYvsedmRji0eRgu2fe8WW6XsKSkWQ+xnIncw+GvbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687608248; 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=q3BztPE20zmzI8Rsnwdpp+UHfiCyaApNP6XUXiPFVjY=; b=XiVRmO+z48+QwGkv9pcZUx/IVZc8VXs36EkBgy6lq++s2KkLedJTBwYyyxWRFqIkuZk3rd Q56u9zM5KQ5iJoTIDRWEtuk+HtAHRO8o9AsbP87zKLwQpbJ7ah47dc+B+Y3hwRcyazej/d GH4MXTROHaKyF0aqE1AnlR7m0cipfIbgPwOnJHVfHg+oKGxAiXZLZD2/9WRJBaa9CkOlPP UeLe98Vm5xSscMlaL2TxT8/X1Y9ljQyE0fMezJUx99BM+PCJvXZP7KXO0Ol04gCkufCdSM nXwi/X1Zo5o8dbyiaHdHGxbKrzlbW0G+Uhnv5C7/vXKa5DxEIANUPPyiYGZfJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687608248; a=rsa-sha256; cv=none; b=yrv4FQla7EC8Mryti+oECokJ/Wt0RgdPcHYBHiyL4HmPnqCWD+Cq1QcfKnz8+7OaaQd2SM 1ErQwpTnAtQrBC+Nsx7riatGZIRyqu9oLPxWSnMh1jTWc7FFDSUGh6iJ5UTVb71u97Dmvn 9WLMt8cwi1gShY/6iMRrkkJnVMukCeFEOo20IO1q3epGYUpCyVxvbHepS05D2oHlQxHf59 hWLwM9AyZDD/CHqaeqsYyhjkpd57L7vaEkeN0Zpq+Lmf9ArnvfWJo8FXeEjrKcCuDXtZaF O2X/Y8LvAse6Nq8ri1qXEWJgi2Bau+pDprRvyjF1BAixitFS6spN/Y1fbvo24A== 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 4QpCSl6PckzlfM; Sat, 24 Jun 2023 12:04:07 +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 35OC47wr015551; Sat, 24 Jun 2023 12:04:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35OC47VX015550; Sat, 24 Jun 2023 12:04:07 GMT (envelope-from git) Date: Sat, 24 Jun 2023 12:04:07 GMT Message-Id: <202306241204.35OC47VX015550@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: 453636c52778 - main - net/{py-}libdnet: 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: 453636c52778c22126c86e4cd83e699a41d60cd4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=453636c52778c22126c86e4cd83e699a41d60cd4 commit 453636c52778c22126c86e4cd83e699a41d60cd4 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-24 12:02:06 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-24 12:03:43 +0000 net/{py-}libdnet: Fix build with llvm16 Sponsored by: The FreeBSD Foundation Sponsored by: The FreeBSD Foundation --- net/libdnet/files/patch-configure.ac | 8 ++++---- net/py-libdnet/Makefile | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/net/libdnet/files/patch-configure.ac b/net/libdnet/files/patch-configure.ac index 6a812f27b63d..b3bfe2f2cedc 100644 --- a/net/libdnet/files/patch-configure.ac +++ b/net/libdnet/files/patch-configure.ac @@ -11,9 +11,9 @@ but as of libdnet-1.13 it is not used at all inside libdnet's code. FreeBSD PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238523 Origin: rea@FreeBSD.org ---- configure.ac.old 2019-06-30 21:36:25.906488000 +0300 -+++ configure.ac 2019-06-30 21:39:21.116185000 +0300 -@@ -203,7 +203,6 @@ +--- configure.ac.orig 2019-03-19 17:55:02 UTC ++++ configure.ac +@@ -203,7 +203,6 @@ AC_CHECK_FUNCS([gethostbyname gettimeofday memmove mem AC_REPLACE_FUNCS(err strlcat strlcpy strsep) dnl Checks for other system-specific jonks. @@ -21,7 +21,7 @@ Origin: rea@FreeBSD.org AC_DNET_RAWIP_HOST_OFFLEN dnl Check for arp interface. -@@ -219,18 +218,7 @@ +@@ -219,18 +218,7 @@ else (exit 1); exit 1; fi diff --git a/net/py-libdnet/Makefile b/net/py-libdnet/Makefile index 37c5095de6d2..2742a942c570 100644 --- a/net/py-libdnet/Makefile +++ b/net/py-libdnet/Makefile @@ -28,6 +28,12 @@ regression-test: install ${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py .endif +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: ${REINPLACE_CMD} 's|%%CYTHON%%|cython-${PYTHON_VER}|g' \ ${WRKSRC}/python/Makefile.am