[gentoo-x86] / gnome-base / gconf / files / gconf-1.0.9-linguas.patch Project Root:

GentooView of /gnome-base/gconf/files/gconf-1.0.9-linguas.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision: 1.1 - (download) (annotate)
Wed Feb 22 13:52:51 2006 UTC (3 years, 9 months ago) by agriffis
Branch: MAIN
Fix compilation with gcc-4. Add patch to fix compilation when LINGUAS
contains zh #114805
(Portage version: 2.1_pre4-r1)
Fix bug 114805: gnome-base/gconf-1.0.9 fails to compile if LINGUAS contains zh

diff -ruN GConf-1.0.9.orig/configure GConf-1.0.9/configure
--- GConf-1.0.9.orig/configure	2005-12-07 14:50:19.000000000 -0800
+++ GConf-1.0.9/configure	2005-12-07 14:51:26.000000000 -0800
@@ -10475,7 +10475,7 @@
        NEW_LINGUAS=
        for lang in ${LINGUAS=$ALL_LINGUAS}; do
          case "$ALL_LINGUAS" in
-          *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
+          $lang|*\ $lang|$lang\ *|*\ $lang\ *) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
          esac
        done
        LINGUAS=$NEW_LINGUAS

www@gentoo.org

Powered by ViewCVS 1.0_pre20050929

ViewCVS and CVS Help