diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-08-07 14:38:26 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-08-07 14:38:26 +0000 |
commit | e08c9436962a9f883e5093a75285ef57a2a58afa (patch) | |
tree | e5dd12a2db426f2289990a2e867d3936a3a45733 /games-puzzle/pingus/files | |
parent | Change virtual/ruby to dev-lang/ruby, bug 265054. (diff) | |
download | gentoo-2-e08c9436962a9f883e5093a75285ef57a2a58afa.tar.gz gentoo-2-e08c9436962a9f883e5093a75285ef57a2a58afa.tar.bz2 gentoo-2-e08c9436962a9f883e5093a75285ef57a2a58afa.zip |
version bump
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/pingus/files')
-rw-r--r-- | games-puzzle/pingus/files/pingus-0.7.3-paths.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/games-puzzle/pingus/files/pingus-0.7.3-paths.patch b/games-puzzle/pingus/files/pingus-0.7.3-paths.patch new file mode 100644 index 000000000000..00d974f92bb3 --- /dev/null +++ b/games-puzzle/pingus/files/pingus-0.7.3-paths.patch @@ -0,0 +1,34 @@ +--- install.sh ++++ install.sh +@@ -14,8 +14,8 @@ + exit 1 + fi + +- BINDIR="$1/bin/" +- DATADIR="$1/share/pingus/" ++ BINDIR="${1}GENTOO_BINDIR" ++ DATADIR="${1}GENTOO_DATADIR" + + echo "Installing Pingus in: $1" + +--- SConstruct ++++ SConstruct +@@ -406,7 +406,6 @@ + + config_h = open('config.h', 'w') + config_h.write('#define VERSION "0.7.2"\n') +- config_h.write('#define ENABLE_BINRELOC 1\n') + config_h.write('#define ICONV_CONST %s\n' % iconv_const) + for (v,k) in config_h_defines: + config_h.write('#define %s %s\n' % (v, k)) +--- src/pingus_main.cpp ++++ src/pingus_main.cpp +@@ -583,7 +583,7 @@ + path_manager.add_path("data"); // assume game is run from source dir, without any magic + free(exe_path); + #else +- path_manager.add_path("data"); // assume game is run from source dir ++ path_manager.add_path("GENTOO_DATADIR/data"); + #endif + + if (!path_manager.find_path("data/core.res")) |