mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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;
|
||||
}
|
||||
@@ -23,6 +23,8 @@ DEPEND="${RDEPEND}
|
||||
|
||||
DOCS="ChangeLog"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-perl_brace_regex.patch )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with libnotify) \
|
||||
|
||||
Reference in New Issue
Block a user