summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-04-23 09:45:42 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-04-23 09:45:42 +0000
commit0fd3fa3665efcdee90d05a49e75c411cd0b7bf73 (patch)
tree4131b0ebc9c87ea64e40bd3eed5967c98f65e9b9
parentRun elibtoolize only after the two eautoreconf, should solve problems with sa... (diff)
downloadgentoo-2-0fd3fa3665efcdee90d05a49e75c411cd0b7bf73.tar.gz
gentoo-2-0fd3fa3665efcdee90d05a49e75c411cd0b7bf73.tar.bz2
gentoo-2-0fd3fa3665efcdee90d05a49e75c411cd0b7bf73.zip
Fix et_EE locale locale compiling thanks to J <j-spam@starline.ee> in bug 128242
(Portage version: 2.1_pre9-r2)
-rw-r--r--net-print/foomatic-db-engine/ChangeLog9
-rw-r--r--net-print/foomatic-db-engine/files/digest-foomatic-db-engine-3.0.22
-rw-r--r--net-print/foomatic-db-engine/files/flex-configure-LANG.patch41
-rw-r--r--net-print/foomatic-db-engine/foomatic-db-engine-3.0.2.ebuild5
4 files changed, 53 insertions, 4 deletions
diff --git a/net-print/foomatic-db-engine/ChangeLog b/net-print/foomatic-db-engine/ChangeLog
index 3184dd3c3a8f..8d861ecf472d 100644
--- a/net-print/foomatic-db-engine/ChangeLog
+++ b/net-print/foomatic-db-engine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-print/foomatic-db-engine
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/ChangeLog,v 1.26 2005/11/28 13:19:23 mcummings Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/ChangeLog,v 1.27 2006/04/23 09:45:42 genstef Exp $
+
+ 23 Apr 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/flex-configure-LANG.patch, foomatic-db-engine-3.0.2.ebuild:
+ Fix et_EE locale locale compiling thanks to J <j-spam@starline.ee> in bug
+ 128242
28 Nov 2005; <mcumming@gentoo.org> foomatic-db-engine-3.0.2.ebuild:
Switched from perl-module to perl-app eclass
diff --git a/net-print/foomatic-db-engine/files/digest-foomatic-db-engine-3.0.2 b/net-print/foomatic-db-engine/files/digest-foomatic-db-engine-3.0.2
index 3b718fd69bee..9ce039509427 100644
--- a/net-print/foomatic-db-engine/files/digest-foomatic-db-engine-3.0.2
+++ b/net-print/foomatic-db-engine/files/digest-foomatic-db-engine-3.0.2
@@ -1 +1,3 @@
MD5 3061b8d3f7870467e6fbeae8d4399211 foomatic-db-engine-3.0.2.tar.gz 286367
+RMD160 7160ce989e80c84090eccac4b3fb0052116a258c foomatic-db-engine-3.0.2.tar.gz 286367
+SHA256 d4070ec489d347810569bc6a9f6289be3b54ea42afea18116c0e06bf16e41a3c foomatic-db-engine-3.0.2.tar.gz 286367
diff --git a/net-print/foomatic-db-engine/files/flex-configure-LANG.patch b/net-print/foomatic-db-engine/files/flex-configure-LANG.patch
new file mode 100644
index 000000000000..3ef76ef911c0
--- /dev/null
+++ b/net-print/foomatic-db-engine/files/flex-configure-LANG.patch
@@ -0,0 +1,41 @@
+The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
+option parsing, it may break.
+
+http://bugs.gentoo.org/103483
+
+--- configure
++++ configure
+@@ -54,6 +54,16 @@
+ infodir='${prefix}/info'
+ mandir='${prefix}/man'
+
++# NLS nuisances.
++# Only set these to C if already set. These must not be set unconditionally
++# because not all systems understand e.g. LANG=C (notably SCO).
++# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
++# Non-C LC_CTYPE values break the ctype check.
++if test "${LANG+set}" = set; then LANG=C; export LANG; fi
++if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
++if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
++if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
++
+ # Initialize some other variables.
+ subdirs=
+ MFLAGS= MAKEFLAGS=
+@@ -452,16 +463,6 @@
+ esac
+ done
+
+-# NLS nuisances.
+-# Only set these to C if already set. These must not be set unconditionally
+-# because not all systems understand e.g. LANG=C (notably SCO).
+-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
+-# Non-C LC_CTYPE values break the ctype check.
+-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
+-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
+-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
+-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
+-
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
+ rm -rf conftest* confdefs.h
+ # AIX cpp loses on an empty file, so make sure it contains at least a newline.
diff --git a/net-print/foomatic-db-engine/foomatic-db-engine-3.0.2.ebuild b/net-print/foomatic-db-engine/foomatic-db-engine-3.0.2.ebuild
index c0072a3c9619..6e56a149a732 100644
--- a/net-print/foomatic-db-engine/foomatic-db-engine-3.0.2.ebuild
+++ b/net-print/foomatic-db-engine/foomatic-db-engine-3.0.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/foomatic-db-engine-3.0.2.ebuild,v 1.12 2005/11/28 13:19:23 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/foomatic-db-engine-3.0.2.ebuild,v 1.13 2006/04/23 09:45:42 genstef Exp $
inherit perl-app eutils
@@ -20,6 +20,7 @@ DEPEND="dev-libs/libxml2
src_compile() {
epatch ${FILESDIR}/perl-module-3.0.1.diff
+ epatch ${FILESDIR}/flex-configure-LANG.patch
econf || die
make || die
}