summaryrefslogtreecommitdiffstats
path: root/php-phalcon5.spec
diff options
context:
space:
mode:
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