[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] patch to fix windowmaker 0.95.7 emerge failure
From:       Timur Aydin <ta () taydin ! org>
Date:       2015-10-31 21:07:29
Message-ID: 56352D91.4050206 () taydin ! org
[Download RAW message or body]

Hello,

Emerging windowmaker 0.95.7 fails on my ~amd64 gentoo linux system for
quite some time now. The problem is in the ebuild file, where the
LINGUAS variable is not being constructed correctly and ends up
including newline characters after each lingua. I  have modified the
ebuild so that all newlines are removed from the LINGUAS variable and
replaced with whitespace, which is what it should have been in the first
place.

Let me know if this patch is acceptable.

Timur

["wmaker_linguas_fix.patch" (text/x-diff)]

--- /usr/portage/x11-wm/windowmaker/windowmaker-0.95.7.ebuild	2015-08-11 23:31:02.000000000 +0300
+++ /usr/local/portage/x11-wm/windowmaker/windowmaker-0.95.7.ebuild	2015-10-31 23:37:14.116670525 +0300
@@ -56,7 +56,7 @@
 	myconf="${myconf} $(use_enable modelock) $(use_enable xrandr randr) $(use_enable xinerama)"
 
 	if use nls; then
-		[[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
+		[[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:' | tr '\012' '\040'`"
 	else
 		myconf="${myconf} --disable-locale"
 	fi


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic