summaryrefslogtreecommitdiffstats
path: root/php54.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php54.spec')
-rw-r--r--php54.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php54.spec b/php54.spec
index 0cb8b7d..04b0396 100644
--- a/php54.spec
+++ b/php54.spec
@@ -79,7 +79,7 @@ Version: 5.4.19
%if 0%{?snapdate:1}%{?rcver:1}
Release: 0.5.%{?snapdate}%{?rcver}%{?dist}
%else
-Release: 1%{?dist}
+Release: 2%{?dist}
%endif
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
@@ -109,6 +109,7 @@ Patch5: php-5.2.0-includedir.patch
Patch6: php-5.2.4-embed.patch
Patch7: php-5.3.0-recode.patch
Patch8: php-5.4.7-libdb.patch
+Patch9: php-5.4.19-date.patch
# Fixes for extension modules
# https://bugs.php.net/63171 no odbc call during timeout
@@ -765,13 +766,15 @@ httpd -V | grep -q 'threaded:.*yes' && exit 1
%patch6 -p1 -b .embed
%patch7 -p1 -b .recode
%patch8 -p1 -b .libdb
+%patch9 -p1 -b .date
+
rm -f ext/json/utf8_to_utf16.*
%patch21 -p1 -b .odbctimer
%patch40 -p1 -b .dlopen
%patch41 -p1 -b .easter
-%if 0%{?fedora} >= 17 || 0%{?rhel} >= 5
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 5
%patch42 -p1 -b .systzdata
%endif
%patch43 -p1 -b .headers
@@ -914,7 +917,10 @@ cat `aclocal --print-ac-dir`/libtool.m4 > build/libtool.m4
touch configure.in
./buildconf --force
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
+#CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign -fsanitize=address -ggdb"
export CFLAGS
+#LDFLAGS="-fsanitize=address"
+#export LDFLAGS
# Install extension modules in %{_libdir}/php/modules.
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
@@ -1628,6 +1634,9 @@ fi
%changelog
+* Fri Aug 30 2013 Remi Collet <rcollet@redhat.com> - 5.4.19-2
+- test build for https://bugs.php.net/65564
+
* Thu Aug 22 2013 Remi Collet <rcollet@redhat.com> - 5.4.19-1
- update to 5.4.19