diff options
author | Zhang Le <r0bertz@gentoo.org> | 2009-08-02 02:19:56 +0800 |
---|---|---|
committer | Zhang Le <r0bertz@gentoo.org> | 2009-08-02 02:19:56 +0800 |
commit | 664d6f4f34982736028429f496df7a88c8c559bc (patch) | |
tree | e902b516d962c513788f8b894dabe037d5e40a4c /net-libs/xulrunner/files | |
parent | bumped xulrunner-1.9.1.1-r1.ebuild -> xulrunner-1.9.1.1-r2.ebuild (diff) | |
download | loongson-664d6f4f34982736028429f496df7a88c8c559bc.tar.gz loongson-664d6f4f34982736028429f496df7a88c8c559bc.tar.bz2 loongson-664d6f4f34982736028429f496df7a88c8c559bc.zip |
added a missing patch for xulrunner-1.9.1.1-r2.ebuild
Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Diffstat (limited to 'net-libs/xulrunner/files')
-rw-r--r-- | net-libs/xulrunner/files/000_flex-configure-LANG.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-libs/xulrunner/files/000_flex-configure-LANG.patch b/net-libs/xulrunner/files/000_flex-configure-LANG.patch new file mode 100644 index 0000000..6d32a85 --- /dev/null +++ b/net-libs/xulrunner/files/000_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~ 2009-07-31 20:07:25.087663220 -0500 ++++ configure 2009-07-31 20:07:37.987684452 -0500 +@@ -468,6 +468,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= +@@ -856,16 +866,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. |