From 319e03bd9e21389844999dbadac2a066446dfa56 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 16 Feb 2024 15:49:19 +0100 Subject: F40: ignore [-Wincompatible-pointer-types] reported as https://github.com/awesomized/ext-ion/issues/9 --- php-pecl-ion.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-pecl-ion.spec') 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 - 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 - 0.2.1-3 - build out of sources tree -- cgit