[packages/re2] export re2::FilteredRE2::* for chromium
glen
glen at pld-linux.org
Sat Mar 16 14:31:44 CET 2013
commit 7e0eb022c95ce4e193c700b93a94501c3c1ad6fe
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Mar 16 15:11:13 2013 +0200
export re2::FilteredRE2::* for chromium
patch from gentoo
re2.spec | 4 +++-
symbols.patch | 14 ++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/re2.spec b/re2.spec
index 94c2646..dc1928c 100644
--- a/re2.spec
+++ b/re2.spec
@@ -6,13 +6,14 @@
Summary: C++ fast alternative to backtracking RE engines
Name: re2
Version: 20130115
-Release: 1
+Release: 2
License: BSD
Group: Libraries
URL: http://code.google.com/p/re2/
Source0: http://re2.googlecode.com/files/%{name}-%{version}.tgz
# Source0-md5: ef66646926e6cb8f11f277b286eac579
Patch0: test-compile.patch
+Patch1: symbols.patch
BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,6 +58,7 @@ Statyczna biblioteka %{name}.
# want versioned builddir, so shuffle files around
mv re2 .re2; mv .re2/* .
%patch0 -p1
+%patch1 -p1
%build
# The -pthread flag issue has been submitted upstream:
diff --git a/symbols.patch b/symbols.patch
new file mode 100644
index 0000000..91c8ae7
--- /dev/null
+++ b/symbols.patch
@@ -0,0 +1,14 @@
+export for chromium:
+
+re2::FilteredRE2::AllMatches(re2::StringPiece const&, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> >*) const'
+
+--- ./libre2.symbols.orig 2012-11-07 04:45:57.000000000 +0100
++++ ./libre2.symbols 2012-11-07 04:46:20.000000000 +0100
+@@ -10,6 +10,7 @@
+ _ZlsRSoRKN3re211StringPieceE;
+ # re2::FilteredRE2*
+ _ZN3re211FilteredRE2*;
++ _ZNK3re211FilteredRE2*;
+ local:
+ *;
+ };
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/re2.git/commitdiff/9404520ca71aca1358e00782c1c2b1cc2b925aba
More information about the pld-cvs-commit
mailing list