Author: pabs Date: 2009-04-07 14:40:43 +0000 (Tue, 07 Apr 2009) New Revision: 9459
Modified: packages/trunk/primrose/debian/patches/look-in-usr-share.patch Log: make the patch a bit better Modified: packages/trunk/primrose/debian/patches/look-in-usr-share.patch =================================================================== --- packages/trunk/primrose/debian/patches/look-in-usr-share.patch 2009-04-07 12:31:02 UTC (rev 9458) +++ packages/trunk/primrose/debian/patches/look-in-usr-share.patch 2009-04-07 14:40:43 UTC (rev 9459) @@ -1,13 +1,15 @@ -Index: primrose-5+dfsg1/tilePlacementGames/game1/gameSource/common.cpp -=================================================================== ---- primrose-5+dfsg1.orig/tilePlacementGames/game1/gameSource/common.cpp 2009-04-07 14:18:54.000000000 +0200 -+++ primrose-5+dfsg1/tilePlacementGames/game1/gameSource/common.cpp 2009-04-07 14:19:13.000000000 +0200 +Patch: look-in-usr-share.patch +Author: Christoph Egger +Description: Allow Linux distros to specify an absolute path to the graphics +Forwarded: http://sf.net/support/tracker.php?aid=2740890 +--- a/tilePlacementGames/game1/gameSource/common.cpp ++++ b/tilePlacementGames/game1/gameSource/common.cpp @@ -12,7 +12,7 @@ Image *readTGA( char *inFileName ) { - return readTGA( "graphics", inFileName ); -+ return readTGA( "/usr/share/games/primrose/graphics", inFileName ); ++ return readTGA( DATADIR"graphics", inFileName ); } _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

