summaryrefslogtreecommitdiffstats
path: root/php-phalcon5.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-16 16:35:40 +0100
committerRemi Collet <remi@php.net>2024-02-16 16:35:40 +0100
commitf06573349945352a5f31ca08ad08845567dc6821 (patch)
tree3ae10d1f35599bd85015913536069586a0b5339f /php-phalcon5.spec
parent3389bdde6614f56baa645ab05359d50d758fcf35 (diff)
ignore [-Wincompatible-pointer-types]v5.4
reported as https://github.com/phalcon/cphalcon/issues/16531
Diffstat (limited to 'php-phalcon5.spec')
-rw-r--r--php-phalcon5.spec11
1 files 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 <remi@remirepo.net> - 5.4.0-2
+- ignore [-Wincompatible-pointer-types]
+ reported as https://github.com/phalcon/cphalcon/issues/16531
+
* Thu Oct 26 2023 Remi Collet <remi@remirepo.net> - 5.4.0-1
- update to 5.4.0