From nobody Mon Jul 29 19:05:02 2024 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 4WXnqL2sCgz5RnQd; Mon, 29 Jul 2024 19:05:02 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXnqL1GZMz4XWY; Mon, 29 Jul 2024 19:05:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722279902; 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=LDROHsx4gAreaeU8+k+EESk9qUD46Sg2D2RAcxJ8yk8=; b=huCYPVuE1OP2KRLHHNZsqQylbWR6iq5ga7jo5kjG4qimSLtkLYttHrgcuKvKj16sTz4PFi mx65AdBKZ5YqJ3PnygFDWuOCqMnijBxFM1p47pgVPjdrDxctYGdslFBib1dCYzP9FFftOr uWK4ukMaLCpIwXqOgPCJthvn2XDHssnqtlUu8TEyKsenjjoWi18WrijPYnhLcjThhOi/1P xpSy9KZ1EfG8hzKVVC4l7hd5CQm6Y4+pCamRjMQMK8jFfGhSCzGnUpso7etszhRcDf+3bz Bt9h16p7NIOqPvsFie/GXJu27bp5M912PfE2Q5XfA+e02y87/k9ZQW3SrM2InA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722279902; a=rsa-sha256; cv=none; b=KDQv9e578o7X5tIni4Y50KQfX6YXBGr9M3OVSit8CO/6kD8/hdTWe9lnjlmgtbMoqKgMoy 8J2cbE/Bli4+xQdIr2CcQrTSJ5sIWd2rRqQrrJ6HR1uYgnH9821aHOqVEHCFi5+lEdgZvg 83BuTTnDO3wyK9AX2VmnAkxH5NbRud8jFyNtMbVj0lnYMkpd3gG41hU4FA0r3DLrrydsOY IkJSI/V6p4OG21lR0aV5jhf33tl0IufUBFWeWJFffuK7qSVYFG2cb9CXn+inrUQn33yPVX SKAWLLocmOoP1/sOa7AENnSOBrZxwtSDa8V63bBWRkR9h7Jlw9qP+ZyzvVMAyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722279902; 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=LDROHsx4gAreaeU8+k+EESk9qUD46Sg2D2RAcxJ8yk8=; b=ZXCbjraDwiChSRQhdP3uJsD4/zeGifwzDQAd5uGdYOFs5/jQq7rdFsmp1XRcefshkU5tEV WEoHKCpPAfpJSfBRJv29lR3cScfAIJKxlcq8erFI0s4j9UkbYyKbxQl8/N0kiko5daRLBE X5oZG3A5tJ4MsHlUfLgojEpsNVkSt2mjIYzB8LRGxVWcUPZCfvpXgT+ArOAACKSInYRK0N NPErLEop0l52m+BuyS8AfR+uduPWWd4lOMp2/Rkl+NRx9coCxzwEwXNK9nqzByzU5rmY7f dbuoXrO8TD8H6VbwgrFVRwdnuVEWPQIe3jx1iEf1EhlcUTNg7t1uypqsaYyz5Q== 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 4WXnqL0trvzmTy; Mon, 29 Jul 2024 19:05:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46TJ52iB059807; Mon, 29 Jul 2024 19:05:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46TJ52jY059804; Mon, 29 Jul 2024 19:05:02 GMT (envelope-from git) Date: Mon, 29 Jul 2024 19:05:02 GMT Message-Id: <202407291905.46TJ52jY059804@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 6ecf81cce570 - main - net/pecl-radius: Fix build with php84 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ecf81cce570592bc1ad0f9910d6390c0463148d Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ecf81cce570592bc1ad0f9910d6390c0463148d commit 6ecf81cce570592bc1ad0f9910d6390c0463148d Author: Po-Chuan Hsieh AuthorDate: 2024-07-29 19:02:58 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-29 19:02:58 +0000 net/pecl-radius: Fix build with php84 --- net/pecl-radius/Makefile | 1 - net/pecl-radius/files/patch-php84 | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/net/pecl-radius/Makefile b/net/pecl-radius/Makefile index f31abe723fac..782f1c9ed3b2 100644 --- a/net/pecl-radius/Makefile +++ b/net/pecl-radius/Makefile @@ -13,7 +13,6 @@ LICENSE= BSD3CLAUSE USES= php:pecl CONFIGURE_ARGS= --enable-radius -IGNORE_WITH_PHP=84 OPTIONS_DEFINE= EXAMPLES diff --git a/net/pecl-radius/files/patch-php84 b/net/pecl-radius/files/patch-php84 new file mode 100644 index 000000000000..c9aaa61bc046 --- /dev/null +++ b/net/pecl-radius/files/patch-php84 @@ -0,0 +1,14 @@ +--- radlib_compat.h.orig 2016-02-15 15:11:50 UTC ++++ radlib_compat.h +@@ -39,7 +39,11 @@ any other GPL-like (LGPL, GPL2) License. + #endif + + #include "php.h" ++#if PHP_VERSION_ID >= 80400 ++#include "ext/random/php_random.h" ++#else + #include "ext/standard/php_rand.h" ++#endif + #include "ext/standard/php_standard.h" + + #define MPPE_KEY_LEN 16