summaryrefslogtreecommitdiffstats
path: root/php-pecl-ion.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-ion.spec')
-rw-r--r--php-pecl-ion.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-ion.spec b/php-pecl-ion.spec
index f479a60..7c3b64a 100644
--- a/php-pecl-ion.spec
+++ b/php-pecl-ion.spec
@@ -37,7 +37,7 @@
Summary: Amazon ION support
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD-2-Clause
URL: https://pecl.php.net/package/%{pecl_name}
@@ -127,6 +127,9 @@ EOF
export CMAKE=%{_root_bindir}/cmake3
%endif
+# See https://github.com/awesomized/ext-ion/issues/9
+export CFLAGS="%{optflags} -Wno-incompatible-pointer-types"
+
peclconf() {
%configure \
--with-ion \
@@ -226,6 +229,10 @@ fi
%changelog
+* Fri Feb 16 2024 Remi Collet <remi@remirepo.net> - 0.2.1-4
+- F40: ignore [-Wincompatible-pointer-types]
+ reported as https://github.com/awesomized/ext-ion/issues/9
+
* Fri Sep 1 2023 Remi Collet <remi@remirepo.net> - 0.2.1-3
- build out of sources tree