From f06573349945352a5f31ca08ad08845567dc6821 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 16 Feb 2024 16:35:40 +0100 Subject: ignore [-Wincompatible-pointer-types] reported as https://github.com/phalcon/cphalcon/issues/16531 --- php-phalcon5.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/php-phalcon5.spec b/php-phalcon5.spec index f8c4248..04a6e0f 100644 --- a/php-phalcon5.spec +++ b/php-phalcon5.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-phalcon5 # -# Copyright (c) 2014-2023 Remi Collet +# Copyright (c) 2014-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -21,7 +21,7 @@ Name: %{?scl_prefix}php-phalcon5 Version: %{upstream_ver}%{?upstream_pre:~%{upstream_low}} -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: Phalcon Framework License: BSD-3-Clause @@ -132,6 +132,9 @@ peclconf() { --with-php-config=$1 } +# See https://github.com/phalcon/cphalcon/issues/16531 +export CFLAGS="%{optflags} -Wno-incompatible-pointer-types" + cd %{sources} %{__phpize} @@ -231,6 +234,10 @@ fi %changelog +* Fri Feb 16 2024 Remi Collet - 5.4.0-2 +- ignore [-Wincompatible-pointer-types] + reported as https://github.com/phalcon/cphalcon/issues/16531 + * Thu Oct 26 2023 Remi Collet - 5.4.0-1 - update to 5.4.0 -- cgit