SOURCES: ted-gtklocale.patch - updated for X11R7

qboosh qboosh at pld-linux.org
Thu Oct 26 20:16:22 CEST 2006


Author: qboosh                       Date: Thu Oct 26 18:16:21 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for X11R7

---- Files affected:
SOURCES:
   ted-gtklocale.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/ted-gtklocale.patch
diff -u SOURCES/ted-gtklocale.patch:1.1 SOURCES/ted-gtklocale.patch:1.2
--- SOURCES/ted-gtklocale.patch:1.1	Fri Dec 27 18:10:59 2002
+++ SOURCES/ted-gtklocale.patch	Thu Oct 26 20:16:16 2006
@@ -14,7 +14,7 @@
      const int			xdefl= sizeof( xdefs )- 1;
  
 -    static const char		xlibs[]= "/usr/lib/X11";
-+    static const char		xlibs[]= "/usr/X11R6/lib/X11";
++    static const char		xlibs[]= "/usr/share/X11";
      const int			xlibl= sizeof( xlibs )- 1;
  
      static const char		adefs[]= "app-defaults";
@@ -32,15 +32,15 @@
 +		*strchr( lang, '@' ) = 0;
  	    sprintf( name, "%s/%s/%s/%s",
  				xlibs,
-+				adefs,
  				lang,
++				adefs,
 +				ea->eaApplicationName );
 +	    if  ( access( name, R_OK ) && strchr( lang, '_' )) {
 +		*strchr( lang, '_' ) = 0;
 +		sprintf( name, "%s/%s/%s/%s",
 +				xlibs,
- 				adefs,
 +				lang,
+ 				adefs,
  				ea->eaApplicationName );
 -
 +	    }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/ted-gtklocale.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list