summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Masko2014-08-30 20:52:20 (GMT)
committerLukasz Masko2014-08-30 20:52:20 (GMT)
commit18e73e19d653f21452dab9d550b1677003a2363c (patch)
tree35b1ba74688d0647694d3c4fb03573db58b739de
parent079f482d7399602d19b8eb75bbc4670544fc588c (diff)
downloadprotobuf-18e73e19d653f21452dab9d550b1677003a2363c.zip
protobuf-18e73e19d653f21452dab9d550b1677003a2363c.tar.gz
- 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
-rw-r--r--protobuf.spec7
1 files 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}