[packages/re2] export only specific symbol, matching more makes unit tests to abort
glen
glen at pld-linux.org
Sat Mar 16 14:31:49 CET 2013
commit e20d8a4e841ef7b1b1f58990b288746564405297
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Mar 16 15:14:22 2013 +0200
export only specific symbol, matching more makes unit tests to abort
obj/dbg/test/mimics_pcre_test FAIL; output in obj/so/test/filtered_re2_test.log
re2/prefilter_tree.cc:288: Compile() not called
re2/testing/filtered_re2_test.cc:35: Check failed: (0) == (v.atoms.size())
FilteredRE2Test.EmptyTest
FilteredRE2Test.SmallOrTest
Aborted
$ gcc --version
gcc (PLD-Linux) 4.7.2 20121104 (release)
symbols.patch | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/symbols.patch b/symbols.patch
index 91c8ae7..f1222f0 100644
--- a/symbols.patch
+++ b/symbols.patch
@@ -2,13 +2,13 @@ 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
+--- re2-20130115/libre2.symbols~ 2013-03-16 14:28:54.000000000 +0200
++++ re2-20130115/libre2.symbols 2013-03-16 14:32:44.874122764 +0200
@@ -10,6 +10,7 @@
_ZlsRSoRKN3re211StringPieceE;
# re2::FilteredRE2*
_ZN3re211FilteredRE2*;
-+ _ZNK3re211FilteredRE2*;
++ _ZNK3re211FilteredRE210AllMatchesERKNS_11StringPieceERKSt6vectorIiSaIiEEPS6_;
local:
*;
};
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/re2.git/commitdiff/9404520ca71aca1358e00782c1c2b1cc2b925aba
More information about the pld-cvs-commit
mailing list