]> git.pld-linux.org Git - packages/xpat2.git/blobdiff - xpat2-qt-locales.patch
- C++ fix needed by gcc 4
[packages/xpat2.git] / xpat2-qt-locales.patch
index c6670421e58dc63ddee45e018e1538f8f87a1684..b43a5d3761f766b5bc90813059ec5a198ca94ac5 100644 (file)
      if (!langdir)
        langdir = "";           /* set to empty */
      if (!*langdir)
+@@ -203,7 +203,7 @@
+     sprintf(buff, "%s/%s", LIBDIR, langdir);
+     if (strlen(langdir) < 2)
+-      return langdir;         /* no idea how to change, keep it! */
++      return (langdir="");
+ #ifdef _POSIX_SOURCE
+     /* on posix-systems, we can check if the directory is accessible */
This page took 0.0582 seconds and 4 git commands to generate.