r9835 - packages/trunk/libtuxcap/debian/patches

Miriam Ruiz miriam at alioth.debian.org
Tue Jun 9 17:29:55 UTC 2009


Author: miriam
Date: 2009-06-09 17:29:55 +0000 (Tue, 09 Jun 2009)
New Revision: 9835

Added:
   packages/trunk/libtuxcap/debian/patches/abs_dirs.patch
Modified:
   packages/trunk/libtuxcap/debian/patches/series
Log:
Respect abs patches in resources



Added: packages/trunk/libtuxcap/debian/patches/abs_dirs.patch
===================================================================
--- packages/trunk/libtuxcap/debian/patches/abs_dirs.patch	                        (rev 0)
+++ packages/trunk/libtuxcap/debian/patches/abs_dirs.patch	2009-06-09 17:29:55 UTC (rev 9835)
@@ -0,0 +1,16 @@
+Index: libtuxcap-1.4.0/tuxcap/lib/ResourceManager.cpp
+===================================================================
+--- libtuxcap-1.4.0.orig/tuxcap/lib/ResourceManager.cpp	2009-06-09 19:15:22.000000000 +0200
++++ libtuxcap-1.4.0/tuxcap/lib/ResourceManager.cpp	2009-06-09 19:16:29.000000000 +0200
+@@ -191,9 +191,10 @@
+ 		if (aPath==_S("!program"))
+ 			theRes->mFromProgram = true;
+ 	}
++	else if (aPath[0]==_S('/'))
++		theRes->mPath = SexyStringToStringFast(aPath);
+ 	else
+ 		theRes->mPath = mDefaultPath + SexyStringToStringFast(aPath);
+-
+ 	
+ 	std::string anId;
+ 	XMLParamMap::iterator anItr = theElement.mAttributes.find(_S("id"));

Modified: packages/trunk/libtuxcap/debian/patches/series
===================================================================
--- packages/trunk/libtuxcap/debian/patches/series	2009-06-09 11:28:50 UTC (rev 9834)
+++ packages/trunk/libtuxcap/debian/patches/series	2009-06-09 17:29:55 UTC (rev 9835)
@@ -1 +1,2 @@
 cmakelists.patch
+abs_dirs.patch




More information about the Pkg-games-commits mailing list