[packages/protobuf] - apply no-wrap-memcpy patch only on x32

baggins baggins at pld-linux.org
Wed Jun 6 12:02:21 CEST 2018


commit 2b51c4c2d6efd88932c380b2bc29307a9a812fdc
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Jun 6 12:02:03 2018 +0200

    - apply no-wrap-memcpy patch only on x32

 protobuf.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/protobuf.spec b/protobuf.spec
index 69512dd..9b937c3 100644
--- a/protobuf.spec
+++ b/protobuf.spec
@@ -205,7 +205,9 @@ opisów buforów protokołowych (Protocol Buffers).
 %prep
 %setup -q
 %patch0 -p1
+%ifarch x32
 %patch1 -p1
+%endif
 
 ln -s /usr/src/gmock/src/gmock*.cc src
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/protobuf.git/commitdiff/2b51c4c2d6efd88932c380b2bc29307a9a812fdc



More information about the pld-cvs-commit mailing list