add upstream patch for -Werror=format-security
This commit is contained in:
parent
289cf7157c
commit
25c65035b6
|
@ -26,6 +26,8 @@ Group: Development/Languages
|
||||||
URL: http://pecl.php.net/package/pecl_http
|
URL: http://pecl.php.net/package/pecl_http
|
||||||
Source0: http://pecl.php.net/get/%{proj_name}-%{version}%{?prever}.tgz
|
Source0: http://pecl.php.net/get/%{proj_name}-%{version}%{?prever}.tgz
|
||||||
|
|
||||||
|
Patch0: %{proj_name}-build.patch
|
||||||
|
|
||||||
# From http://www.php.net/manual/en/http.configuration.php
|
# From http://www.php.net/manual/en/http.configuration.php
|
||||||
Source1: %{proj_name}.ini
|
Source1: %{proj_name}.ini
|
||||||
|
|
||||||
|
@ -112,6 +114,8 @@ These are the files needed to compile programs using HTTP extension.
|
||||||
mv %{proj_name}-%{version}%{?prever} NTS
|
mv %{proj_name}-%{version}%{?prever} NTS
|
||||||
cd NTS
|
cd NTS
|
||||||
|
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h)
|
extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h)
|
||||||
if test "x${extver}" != "x%{version}%{?prever}"; then
|
if test "x${extver}" != "x%{version}%{?prever}"; then
|
||||||
: Error: Upstream HTTP version is now ${extver}, expecting %{version}%{?prever}.
|
: Error: Upstream HTTP version is now ${extver}, expecting %{version}%{?prever}.
|
||||||
|
@ -225,6 +229,7 @@ fi
|
||||||
- Update to 2.0.4
|
- Update to 2.0.4
|
||||||
- fix link to documentation
|
- fix link to documentation
|
||||||
- update provided configuration
|
- update provided configuration
|
||||||
|
- add upstream patch for -Werror=format-security
|
||||||
|
|
||||||
* Tue Dec 10 2013 Remi Collet <remi@fedoraproject.org> - 2.0.3-1
|
* Tue Dec 10 2013 Remi Collet <remi@fedoraproject.org> - 2.0.3-1
|
||||||
- Update to 2.0.3 (stable)
|
- Update to 2.0.3 (stable)
|
||||||
|
|
Loading…
Reference in New Issue