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
This commit is contained in:
Bernard Cafarelli
2017-10-22 21:24:27 +02:00
parent c33a9812b5
commit a05a155d32
2 changed files with 14 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -23,6 +23,8 @@ DEPEND="${RDEPEND}
DOCS="ChangeLog"
PATCHES=( "${FILESDIR}"/${P}-perl_brace_regex.patch )
src_configure() {
econf \
$(use_with libnotify) \