[packages/protobuf] - In order to make chromium work after logging to Google, applied a patch according to this thread

lmasko lmasko at pld-linux.org
Sat Aug 30 22:53:25 CEST 2014


commit 18e73e19d653f21452dab9d550b1677003a2363c
Author: Lukasz Masko <lmasko at pld-linux.org>
Date:   Sat Aug 30 22:52:20 2014 +0200

    - In order to make chromium work after logging to Google, applied
      a patch according to this thread:
      https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192821

 protobuf.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/protobuf.spec b/protobuf.spec
index d4fabd1..e9ef7cf 100644
--- a/protobuf.spec
+++ b/protobuf.spec
@@ -9,7 +9,7 @@ Summary:	Protocol Buffers - Google's data interchange format
 Summary(pl.UTF-8):	Protocol Buffers - format wymiany danych Google
 Name:		protobuf
 Version:	2.5.0
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries
 #Source0Download: http://code.google.com/p/protobuf/downloads/list
@@ -164,7 +164,10 @@ opisów buforów protokołowych (Protocol Buffers).
 %{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
-%configure
+# Additional variables defined according to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192821
+%configure \
+	CFLAGS='-DGOOGLE_PROTOBUF_NO_RTTI' \
+	CPPFLAGS='-DGOOGLE_PROTOBUF_NO_RTTI'
 %{__make}
 
 %if %{with python}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/protobuf.git/commitdiff/18e73e19d653f21452dab9d550b1677003a2363c



More information about the pld-cvs-commit mailing list