diff --git a/protobuf-ppc64.patch b/protobuf-ppc64.patch deleted file mode 100644 index 9b07a71..0000000 --- a/protobuf-ppc64.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -up protobuf-3.2.0rc2/src/google/protobuf/wire_format_lite.cc.ppc64 protobuf-3.2.0rc2/src/google/protobuf/wire_format_lite.cc ---- protobuf-3.2.0rc2/src/google/protobuf/wire_format_lite.cc.ppc64 2017-01-18 16:14:38.000000000 -0700 -+++ protobuf-3.2.0rc2/src/google/protobuf/wire_format_lite.cc 2017-01-25 17:02:59.643176129 -0700 -@@ -357,11 +357,11 @@ void EncodeFixedSizeValue(uint64 v, uint - WireFormatLite::WriteFixed64NoTagToArray(v, dest); - } - --void EncodeSFixedSizeValue(int32 v, uint8* dest) { -+void EncodeFixedSizeValue(int32 v, uint8* dest) { - WireFormatLite::WriteSFixed32NoTagToArray(v, dest); - } - --void EncodeSFixedSizeValue(int64 v, uint8* dest) { -+void EncodeFixedSizeValue(int64 v, uint8* dest) { - WireFormatLite::WriteSFixed64NoTagToArray(v, dest); - } - diff --git a/protobuf.spec b/protobuf.spec index 03462db..c969bba 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -21,7 +21,6 @@ Source2: protobuf-init.el # For tests Source3: https://github.com/google/googlemock/archive/release-1.7.0.tar.gz#/googlemock-1.7.0.tar.gz Source4: https://github.com/google/googletest/archive/release-1.7.0.tar.gz#/googletest-1.7.0.tar.gz -Patch0: protobuf-ppc64.patch BuildRequires: autoconf BuildRequires: automake @@ -224,7 +223,6 @@ Protocol Buffer Parent POM. %prep %setup -q -n %{name}-%{version}%{?rcver} -a 3 -a 4 -%patch0 -p1 -b .ppc64 mv googlemock-release-1.7.0 gmock mv googletest-release-1.7.0 gmock/gtest find -name \*.cc -o -name \*.h | xargs chmod -x