diff options
-rw-r--r-- | x11-misc/fbpanel/ChangeLog | 6 | ||||
-rw-r--r-- | x11-misc/fbpanel/fbpanel-6.0.ebuild | 7 | ||||
-rw-r--r-- | x11-misc/fbpanel/files/fbpanel-6.0-configure-LANG.patch | 21 |
3 files changed, 32 insertions, 2 deletions
diff --git a/x11-misc/fbpanel/ChangeLog b/x11-misc/fbpanel/ChangeLog index a7e92d14fef6..ef6f20d4327a 100644 --- a/x11-misc/fbpanel/ChangeLog +++ b/x11-misc/fbpanel/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/fbpanel # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/fbpanel/ChangeLog,v 1.41 2010/03/25 15:32:23 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/fbpanel/ChangeLog,v 1.42 2010/03/25 20:09:49 ssuominen Exp $ + + 25 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> fbpanel-6.0.ebuild, + +files/fbpanel-6.0-configure-LANG.patch: + Reset language vars to C in ./configure wrt #304373 by Harald van Dijk. *fbpanel-6.0 (25 Mar 2010) diff --git a/x11-misc/fbpanel/fbpanel-6.0.ebuild b/x11-misc/fbpanel/fbpanel-6.0.ebuild index a5223127f208..77d386866975 100644 --- a/x11-misc/fbpanel/fbpanel-6.0.ebuild +++ b/x11-misc/fbpanel/fbpanel-6.0.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/fbpanel/fbpanel-6.0.ebuild,v 1.1 2010/03/25 15:32:23 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/fbpanel/fbpanel-6.0.ebuild,v 1.2 2010/03/25 20:09:49 ssuominen Exp $ EAPI=2 +inherit eutils DESCRIPTION="light-weight X11 desktop panel" HOMEPAGE="http://fbpanel.sourceforge.net/" @@ -17,6 +18,10 @@ RDEPEND="x11-libs/gtk+:2" DEPEND="${RDEPEND} dev-util/pkgconfig" +src_prepare() { + epatch "${FILESDIR}"/${P}-configure-LANG.patch +} + src_install() { emake DESTDIR="${D}" install || die dodoc CHANGELOG CREDITS README diff --git a/x11-misc/fbpanel/files/fbpanel-6.0-configure-LANG.patch b/x11-misc/fbpanel/files/fbpanel-6.0-configure-LANG.patch new file mode 100644 index 000000000000..21148d498eb7 --- /dev/null +++ b/x11-misc/fbpanel/files/fbpanel-6.0-configure-LANG.patch @@ -0,0 +1,21 @@ +--- configure.orig 2010-03-25 20:36:48.000000000 +0200 ++++ configure 2010-03-25 20:37:46.000000000 +0200 +@@ -1,6 +1,17 @@ + #!/bin/bash + +-export LANG="POSIX" ++# NLS nuisances. ++for as_var in \ ++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ ++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ ++ LC_TELEPHONE LC_TIME ++do ++ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then ++ eval $as_var=C; export $as_var ++ else ++ unset $as_var ++ fi ++done + + CMD="$@" + |