From nobody Sat Aug 03 14:14:03 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 4Wbl7J0Z2mz5SVxJ; Sat, 03 Aug 2024 14:14:04 +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 4Wbl7H5g7Hz4G78; Sat, 3 Aug 2024 14:14:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722694443; 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=FZZDcWtpQvuhfEX73WnHmVpiKv0lh916QtbOoM2T0Ws=; b=vbDVqnnJgeGClMWWnBfpN4KK0/hq8YSsGowXuKQZ5X8ibb9VzfwOBP5zjUJXRL7NY5i5TZ YJ1vN8eY/WWKtjbgfQQvDZ9Nmka6KuYNuJDqCWqRSTcMNry/SlJ8x0UHZ1VAJB9nApnQh2 TQpDpUp4yq5/TcMSmBQny/bwvidzIphKtfiPV+LKOg22NHvEE6ZpslDmsitZLAEzZ+0Rzs aJchShljHUgeCdthuTS3dXlpU+Ut0qXtdfskGy01lmfT+w967yCCSl4VYnj7cdsjzITR2V 4fmZN91HI2z1neY+8qy98e65payccCSS1I75ysZMk5YkYNwyXUMRlxPlXxTlNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722694443; a=rsa-sha256; cv=none; b=dYtfYf/yy/+xVPnC92y+fb++ol3HJAFosm/x6IoKYms9bmxYa/jQbPkrStR6XMwOQKcbT2 ZBNXMOxPFyB92nOdfDlLf5kCmj6caAqfbkf71GPEvlIRZO4gNqLURsQmmNxPQic2O+mG1d S+i50adIqHOy8SvzbNlAmh/ML2OAkYi0to26yYFEAK8+eZbtBNmwZYyamntdzdJ7VnFcOV XZWTXqHRx8dcW+DeSBlXeQonVyvizXkHSoWlcOh5v4ogieEoWFPLqeBuPc7T8f8E85GtMC +/AAAnpQ4B3gW0Gji1qNs1t0BKkosw7RAiBzd2heTtPJiWEqq4k0IvmOS8adVw== 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=1722694443; 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=FZZDcWtpQvuhfEX73WnHmVpiKv0lh916QtbOoM2T0Ws=; b=qoNObTHPASqf59w4XVH7cs6bQNfQzisGjn9QeemfLZ57FVM1dX7dZQX7066YAu/CuJ1lDH 2PStcYDQB8FAnLXM6QL4eByVF/X3w4UDND2YD2H2SP7UiFolNstgoLmYWRqE5NZT3sb7CV 7wsduq3RZzeCmypbCqkkyS45skT5JQnOXSkwRSwCh7uRtBwtx6gjV6n8vPka7WHCo38djJ kp21JWraJh+KS0bkZwNJkAQJyNmYVDFmx3F5VxJzIYbYs5Rp1kFpkHddOHEzE3GdUfQqtn WKa4++cEJ7poMpQjGovArFeFOWrMl6Qu0iwGqAXZpqrLemGlNQP0hmB0oDsSuA== 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 4Wbl7H5G0hzFVx; Sat, 3 Aug 2024 14:14:03 +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 473EE3Gn086016; Sat, 3 Aug 2024 14:14:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 473EE3Ib086013; Sat, 3 Aug 2024 14:14:03 GMT (envelope-from git) Date: Sat, 3 Aug 2024 14:14:03 GMT Message-Id: <202408031414.473EE3Ib086013@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: 2a3fe68c4782 - main - devel/pecl-xdebug: Unbreak for 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2a3fe68c4782381ac56d225c866a890deb2ad768 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a3fe68c4782381ac56d225c866a890deb2ad768 commit 2a3fe68c4782381ac56d225c866a890deb2ad768 Author: Muhammad Moinur Rahman AuthorDate: 2024-08-03 13:59:27 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-08-03 14:13:56 +0000 devel/pecl-xdebug: Unbreak for php84 Approved by: portmgr (blanket) --- devel/pecl-xdebug/Makefile | 1 - devel/pecl-xdebug/files/patch-src_lib_usefulstuff.c | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/devel/pecl-xdebug/Makefile b/devel/pecl-xdebug/Makefile index 034b495e2667..881530000e20 100644 --- a/devel/pecl-xdebug/Makefile +++ b/devel/pecl-xdebug/Makefile @@ -10,7 +10,6 @@ LICENSE= PHP30 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl,zend tar:tgz -IGNORE_WITH_PHP= 84 CONFIGURE_ARGS= --enable-xdebug diff --git a/devel/pecl-xdebug/files/patch-src_lib_usefulstuff.c b/devel/pecl-xdebug/files/patch-src_lib_usefulstuff.c new file mode 100644 index 000000000000..41517a51c857 --- /dev/null +++ b/devel/pecl-xdebug/files/patch-src_lib_usefulstuff.c @@ -0,0 +1,14 @@ +--- src/lib/usefulstuff.c.orig 2024-08-03 13:55:22 UTC ++++ src/lib/usefulstuff.c +@@ -41,7 +41,11 @@ + #include "usefulstuff.h" + #include "log.h" + ++#if PHP_VERSION_ID <= 80300 + #include "ext/standard/php_lcg.h" ++#else ++#include "ext/random/php_random.h" ++#endif + #include "ext/standard/flock_compat.h" + #include "main/php_ini.h" +