summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-10-22 21:24:27 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2017-10-22 21:24:57 +0200
commita05a155d3294d453d27d777c4e134ecfbb36dcfd (patch)
treecf9186b4f55d6bc0be2c096371ddcf0796fd9d86 /x11-plugins/wmudmount
parentx11-plugins/wmudmount: drop old (diff)
downloadgentoo-a05a155d3294d453d27d777c4e134ecfbb36dcfd.tar.gz
gentoo-a05a155d3294d453d27d777c4e134ecfbb36dcfd.tar.bz2
gentoo-a05a155d3294d453d27d777c4e134ecfbb36dcfd.zip
x11-plugins/wmudmount: fix build with newer perl
"Unescaped left brace in regex is illegal here in regex", deprecated for some time and now a fatal error Closes: https://bugs.gentoo.org/634948 Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'x11-plugins/wmudmount')
-rw-r--r--x11-plugins/wmudmount/files/wmudmount-2.2-perl_brace_regex.patch12
-rw-r--r--x11-plugins/wmudmount/wmudmount-2.2-r2.ebuild2
2 files changed, 14 insertions, 0 deletions
diff --git a/x11-plugins/wmudmount/files/wmudmount-2.2-perl_brace_regex.patch b/x11-plugins/wmudmount/files/wmudmount-2.2-perl_brace_regex.patch
new file mode 100644
index 000000000000..4730b2d64b9d
--- /dev/null
+++ b/x11-plugins/wmudmount/files/wmudmount-2.2-perl_brace_regex.patch
@@ -0,0 +1,12 @@
+diff -Naur wmudmount-2.2.orig/make-chars.pl wmudmount-2.2/make-chars.pl
+--- wmudmount-2.2.orig/make-chars.pl 2014-02-03 06:41:59.000000000 +0100
++++ wmudmount-2.2/make-chars.pl 2017-10-22 21:13:22.555748713 +0200
+@@ -52,7 +52,7 @@
+
+ while(<IN>){
+ $head.=$_;
+- if(/^static char \* ([a-zA-Z0-9_]+_xpm)\[\] = {/){
++ if(/^static char \* ([a-zA-Z0-9_]+_xpm)\[\] = \{/){
+ $name=$1;
+ last;
+ }
diff --git a/x11-plugins/wmudmount/wmudmount-2.2-r2.ebuild b/x11-plugins/wmudmount/wmudmount-2.2-r2.ebuild
index 58882b144a2c..c919f691e419 100644
--- a/x11-plugins/wmudmount/wmudmount-2.2-r2.ebuild
+++ b/x11-plugins/wmudmount/wmudmount-2.2-r2.ebuild
@@ -23,6 +23,8 @@ DEPEND="${RDEPEND}
DOCS="ChangeLog"
+PATCHES=( "${FILESDIR}"/${P}-perl_brace_regex.patch )
+
src_configure() {
econf \
$(use_with libnotify) \