packages: pingus/pingus-opt.patch - fix datadir path

lisu lisu at pld-linux.org
Thu Feb 2 20:35:23 CET 2012


Author: lisu                         Date: Thu Feb  2 19:35:23 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix datadir path

---- Files affected:
packages/pingus:
   pingus-opt.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/pingus/pingus-opt.patch
diff -u packages/pingus/pingus-opt.patch:1.3 packages/pingus/pingus-opt.patch:1.4
--- packages/pingus/pingus-opt.patch:1.3	Thu Feb  2 16:42:12 2012
+++ packages/pingus/pingus-opt.patch	Thu Feb  2 20:35:18 2012
@@ -11,15 +11,16 @@
                    CPPDEFINES = ['HAVE_CWIID'],
                    LIBS = ['cwiid'])
 --- pingus-0.7.6/src/pingus/pingus_main.cpp~    2011-12-24 22:46:47.000000000 +0100
-+++ pingus-0.7.6/src/pingus/pingus_main.cpp     2012-02-02 15:36:42.650177265 +0100
-@@ -453,6 +453,7 @@
++++ pingus-0.7.6/src/pingus/pingus_main.cpp     2012-02-02 20:26:49.091769236 +0100
+@@ -453,7 +453,7 @@
      CFRelease(ref);
      g_path_manager.set_path("data");
  #else
+-    g_path_manager.set_path("data"); // assume game is run from source dir
 +    g_path_manager.set_path("/usr/share/pingus/data");
-     g_path_manager.set_path("data"); // assume game is run from source dir
  #endif
    }
+
 --- pingus-0.7.6/SConscript~    2011-12-24 22:46:47.000000000 +0100
 +++ pingus-0.7.6/SConscript     2012-02-02 16:37:37.509808383 +0100
 @@ -108,7 +108,6 @@
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pingus/pingus-opt.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list