summaryrefslogtreecommitdiffstats
path: root/php-pecl-ion.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-16 15:49:19 +0100
committerRemi Collet <remi@php.net>2024-02-16 15:49:19 +0100
commit319e03bd9e21389844999dbadac2a066446dfa56 (patch)
tree249bbd27855a90b8694f9d094eb48d0424f5548a /php-pecl-ion.spec
parentcdd0fe640ea980af36b788587a11af864fb17e00 (diff)
F40: ignore [-Wincompatible-pointer-types]
reported as https://github.com/awesomized/ext-ion/issues/9
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