diff options
author | Thomas Kahle <tomka@gentoo.org> | 2010-11-16 23:33:43 +0000 |
---|---|---|
committer | Thomas Kahle <tomka@gentoo.org> | 2010-11-16 23:33:43 +0000 |
commit | 9c814ea7a682c18051d18a7a28c6f1b1727ac65c (patch) | |
tree | 2ec319f7e1d2ed34aafa6d525c4e6f50972e7a10 /sci-mathematics/polymake/files | |
parent | Cleanup (diff) | |
download | gentoo-2-9c814ea7a682c18051d18a7a28c6f1b1727ac65c.tar.gz gentoo-2-9c814ea7a682c18051d18a7a28c6f1b1727ac65c.tar.bz2 gentoo-2-9c814ea7a682c18051d18a7a28c6f1b1727ac65c.zip |
bump to 2.9.9, remove 2.9.8. Fixes a build failure that Luigi Malago found.
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'sci-mathematics/polymake/files')
-rw-r--r-- | sci-mathematics/polymake/files/2.9.9-gentoo-binutils.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-mathematics/polymake/files/2.9.9-gentoo-binutils.patch b/sci-mathematics/polymake/files/2.9.9-gentoo-binutils.patch new file mode 100644 index 000000000000..f65f15ae32b0 --- /dev/null +++ b/sci-mathematics/polymake/files/2.9.9-gentoo-binutils.patch @@ -0,0 +1,22 @@ +diff -U 3 -dHrN polymake-2.9.9.orig/perllib/Polymake/Core/CPlusPlus_config.pm polymake-2.9.9/perllib/Polymake/Core/CPlusPlus_config.pm +--- polymake-2.9.9.orig/perllib/Polymake/Core/CPlusPlus_config.pm 2010-11-17 00:09:21.000000000 +0100 ++++ polymake-2.9.9/perllib/Polymake/Core/CPlusPlus_config.pm 2010-11-17 00:10:49.000000000 +0100 +@@ -83,7 +83,7 @@ + open my $nm, "$nm_util $file.exe |" or die "can't run nm utility: $!\n"; + my %mangled; + while (<$nm>) { +- if (my ($mangled)=/\s[TW]\s+(\S*PolymakeTest\S*)/) { ++ if (my ($mangled)=/\s[TWV]\s+(\S*PolymakeTest\S*)/) { + my $case= $mangled =~ /TestWrap/ ? 3 : $mangled =~ /TestNam/ ? 2 : $mangled =~ /TestGlob/ ? 1 : 0; + next if exists $mangled{$case}; + dbg_print( "nm extracted global name $mangled" ) if $DebugLevel; +@@ -109,7 +109,8 @@ + to proper utility paths and optional flags if necessary + . + } +- if ($demangled =~ ($case<=2 ? $constructor_re : $wrapped_constructor_re)) { ++ declare $wr_con_re=qr{.*}xo; ++ if ($demangled =~ ($case<=2 ? $constructor_re : $wr_con_re)) { + $mangled{$case}=$mangled; + } else { + dbg_print( "c++filt returned '$demangled',\n", |