summaryrefslogtreecommitdiffstats
path: root/php-pecl-protobuf.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-protobuf.spec')
-rw-r--r--php-pecl-protobuf.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec
index 2d25d67..df92870 100644
--- a/php-pecl-protobuf.spec
+++ b/php-pecl-protobuf.spec
@@ -28,6 +28,8 @@ Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+Patch0: https://patch-diff.githubusercontent.com/raw/google/protobuf/pull/4034.patch
+
BuildRequires: %{?scl_prefix}php-devel >= 5.5.9
BuildRequires: %{?scl_prefix}php-pear
@@ -98,6 +100,7 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
+%patch0 -p5 -b .upstream
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_PROTOBUF_VERSION/{s/.* "//;s/".*$//;p}' protobuf.h)
@@ -215,6 +218,9 @@ fi
%changelog
+* Thu Dec 14 2017 Remi Collet <remi@remirepo.net> - 3.5.0.1-1
+- add upstream patch to drop timelib_update_ts need
+
* Thu Dec 7 2017 Remi Collet <remi@remirepo.net> - 3.5.0.1-1
- Update to 3.5.0.1 (still broken)