summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2019-05-12 00:16:33 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2019-05-12 00:18:19 +0200
commit66b7a3f2cc41dbec839e53e98e97a8d86744e5ef (patch)
treef24b2e73109ae05f5da0a8e37ed8f7099399b851 /x11-wm/fvwm/files
parentsys-devel/gdb: drop 8.3.50.* snapshot in favour of 8.3 release (diff)
downloadgentoo-66b7a3f2cc41dbec839e53e98e97a8d86744e5ef.tar.gz
gentoo-66b7a3f2cc41dbec839e53e98e97a8d86744e5ef.tar.bz2
gentoo-66b7a3f2cc41dbec839e53e98e97a8d86744e5ef.zip
x11-wm/fvwm: Add Perl 5.26 / 5.28 fix, bug 674742
Closes: https://bugs.gentoo.org/674742 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'x11-wm/fvwm/files')
-rw-r--r--x11-wm/fvwm/files/fvwm-2.6.8-perl528.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/fvwm/files/fvwm-2.6.8-perl528.patch b/x11-wm/fvwm/files/fvwm-2.6.8-perl528.patch
new file mode 100644
index 000000000000..5735fb1f89b7
--- /dev/null
+++ b/x11-wm/fvwm/files/fvwm-2.6.8-perl528.patch
@@ -0,0 +1,15 @@
+--- modules/FvwmPerl/FvwmPerl.in 2018-04-28 07:46:28.000000000 -0400
++++ modules/FvwmPerl/FvwmPerl.in 2019-01-06 20:44:59.035950968 -0500
+@@ -319,11 +319,11 @@
+ $FVWM_DATADIR = $FVWM_DATADIR || $module->site_data_dir;
+ $FVWM_USERDIR = $FVWM_USERDIR || $module->user_data_dir;
+ }
+
+ # perl code substitution first
+- $$text_ref =~ s/\Q$quote1\E { ( .*? ) } \Q$quote2\E/
++ $$text_ref =~ s/\Q$quote1\E \{ ( .*? ) \} \Q$quote2\E/
+ my $result = eval "
+ no strict;
+ package PreprocessNamespace;
+ $1
+ ";