summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2015-11-14 22:04:48 +0600
committerAndrey Grozin <grozin@gentoo.org>2015-11-14 22:06:17 +0600
commit833535d7dedaedcd9715cce29303f08a5c75fa85 (patch)
tree8f9cf054be6dd614c9839fc88f633267aeb6714a /sci-mathematics/pari/files
parentMerge remote-tracking branch 'github/pr/328'. (diff)
downloadgentoo-833535d7dedaedcd9715cce29303f08a5c75fa85.tar.gz
gentoo-833535d7dedaedcd9715cce29303f08a5c75fa85.tar.bz2
gentoo-833535d7dedaedcd9715cce29303f08a5c75fa85.zip
sci-mathematics/pari: fix building docs with perl-5.22
Thanks to Andreas Proteus <proteuss@sdf.lonestar.org> Package-Manager: portage-2.2.24
Diffstat (limited to 'sci-mathematics/pari/files')
-rw-r--r--sci-mathematics/pari/files/pari-2.7.1-perl-5.22-doc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-mathematics/pari/files/pari-2.7.1-perl-5.22-doc.patch b/sci-mathematics/pari/files/pari-2.7.1-perl-5.22-doc.patch
new file mode 100644
index 000000000000..c4bbadcb2e0c
--- /dev/null
+++ b/sci-mathematics/pari/files/pari-2.7.1-perl-5.22-doc.patch
@@ -0,0 +1,12 @@
+diff -U2 -r pari-2.7.1.orig/src/desc/doc_make pari-2.7.1/src/desc/doc_make
+--- pari-2.7.1.orig/src/desc/doc_make 2014-05-11 00:59:29.000000000 +0700
++++ pari-2.7.1/src/desc/doc_make 2015-11-15 00:51:11.494845695 +0600
+@@ -39,6 +39,6 @@
+ $v =~ s/(\w\w+)/\\var{$1}/g;
+ $v =~ s/\^([a-z])/\\hbox{\\kbd{\\pow}}$1/g;
+- $v =~ s/\\var{flag}/\\fl/g;
+- $v =~ s/\\var{(\d+)}/{$1}/g;
++ $v =~ s/\\var\{flag}/\\fl/g;
++ $v =~ s/\\var\{(\d+)}/{$1}/g;
+
+ $v = "\$($v)\$";