[esys-particle] 01/04: Fix "Unescaped left brace in regex is illegal" error in perl helper scripts. (Closes: #870821)

Anton Gladky gladk at moszumanska.debian.org
Mon Aug 7 20:08:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository esys-particle.

commit 1da0be35d76bc465f6d58417411a43aaac6d34fc
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Aug 7 22:03:43 2017 +0200

    Fix "Unescaped left brace in regex is illegal" error in perl helper scripts. (Closes: #870821)
---
 debian/patches/07_fix_FTBFS_perl5.26.patch | 47 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 48 insertions(+)

diff --git a/debian/patches/07_fix_FTBFS_perl5.26.patch b/debian/patches/07_fix_FTBFS_perl5.26.patch
new file mode 100644
index 0000000..42e90cf
--- /dev/null
+++ b/debian/patches/07_fix_FTBFS_perl5.26.patch
@@ -0,0 +1,47 @@
+Description: Fix "Unescaped left brace in regex is illegal" error in perl helper scripts
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/870821
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-08-06
+
+--- a/Doc/Notes/makeglos.pl
++++ b/Doc/Notes/makeglos.pl
+@@ -46,7 +46,7 @@
+ {
+    while (<LOGFILE>)
+    {
+-      if (m/\\newglossarytype\[(.*)\]{(.*)}{(.*)}{(.*)}/)
++      if (m/\\newglossarytype\[(.*)\]\{(.*)}\{(.*)}\{(.*)}/)
+       {
+          $exttype{$2}{'in'}  = $3;
+          $exttype{$2}{'out'} = $4;
+@@ -237,7 +237,7 @@
+ 
+          for ($i = 1, $j=-1; $i < $n; $i++)
+          {
+-            if ($stuff[$i]=~s/{(.+)\\glosslabel{(.+)}}//)
++            if ($stuff[$i]=~s/\{(.+)\\glosslabel\{(.+)}}//)
+             {
+                $name = $&;
+ 
+--- a/Doc/Tutorial/makeglos.pl
++++ b/Doc/Tutorial/makeglos.pl
+@@ -46,7 +46,7 @@
+ {
+    while (<LOGFILE>)
+    {
+-      if (m/\\newglossarytype\[(.*)\]{(.*)}{(.*)}{(.*)}/)
++      if (m/\\newglossarytype\[(.*)\]\{(.*)}\{(.*)}\{(.*)}/)
+       {
+          $exttype{$2}{'in'}  = $3;
+          $exttype{$2}{'out'} = $4;
+@@ -237,7 +237,7 @@
+ 
+          for ($i = 1, $j=-1; $i < $n; $i++)
+          {
+-            if ($stuff[$i]=~s/{(.+)\\glosslabel{(.+)}}//)
++            if ($stuff[$i]=~s/\{(.+)\\glosslabel\{(.+)}}//)
+             {
+                $name = $&;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index cddbeaa..24dfadd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 03_ax-boost.patch
 05_fix_epydoc_timestamp.patch
 06_fix_FTBFS_gcc6.patch
+07_fix_FTBFS_perl5.26.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/esys-particle.git



More information about the debian-science-commits mailing list