summaryrefslogtreecommitdiffstats
path: root/php-orieg-judy.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-orieg-judy.spec')
-rw-r--r--php-orieg-judy.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-orieg-judy.spec b/php-orieg-judy.spec
index 052d5a5..e0eade4 100644
--- a/php-orieg-judy.spec
+++ b/php-orieg-judy.spec
@@ -34,13 +34,15 @@
Summary: PHP Judy implements sparse dynamic arrays
Name: %{?scl_prefix}php-%{pie_vend}-%{pie_proj}
+License: PHP-3.01
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
%forgemeta
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
-License: PHP-3.01
URL: %{forgeurl}
Source0: %{forgesource}
+Patch0: 65.patch
+
BuildRequires: make
BuildRequires: gcc
BuildRequires: %{?scl_prefix}php-devel >= 8.0
@@ -83,6 +85,7 @@ These are the files needed to compile programs using %{name}.
%prep
%forgesetup
+%patch -P0 -p1
: Sanity check, really often broken
extver=$(sed -n '/#define PHP_JUDY_VERSION/{s/.* "//;s/".*$//;p}' php_judy.h)
@@ -143,6 +146,10 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}/%{php_extdir}/%{ext_name}.so" \
%changelog
+* Thu Jul 16 2026 Remi Collet <remi@remirepo.net> - 2.4.0-2
+- fix build with PHP 8.6.0alpha2 using patch from
+ https://github.com/orieg/php-judy/pull/65
+
* Tue Mar 3 2026 Remi Collet <remi@remirepo.net> - 2.4.0-1
- update to 2.4.0