diff options
author | 2013-01-30 16:12:06 +0000 | |
---|---|---|
committer | 2013-01-30 16:12:06 +0000 | |
commit | 335615e9ee99ff9da7538f520f26622f2fb51a32 (patch) | |
tree | 4cd0ec9ab04cc1103d4cccb042126dc0de6b5ec9 /games-arcade/berusky/files | |
parent | dev-util/patchelf: Drop old (diff) | |
download | gentoo-2-335615e9ee99ff9da7538f520f26622f2fb51a32.tar.gz gentoo-2-335615e9ee99ff9da7538f520f26622f2fb51a32.tar.bz2 gentoo-2-335615e9ee99ff9da7538f520f26622f2fb51a32.zip |
version bump wrt #454624
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-arcade/berusky/files')
-rw-r--r-- | games-arcade/berusky/files/berusky-1.6-gentoo.patch | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/games-arcade/berusky/files/berusky-1.6-gentoo.patch b/games-arcade/berusky/files/berusky-1.6-gentoo.patch new file mode 100644 index 000000000000..f26c233c39e0 --- /dev/null +++ b/games-arcade/berusky/files/berusky-1.6-gentoo.patch @@ -0,0 +1,71 @@ +--- Makefile.am ++++ Makefile.am +@@ -5,8 +5,7 @@ + + SUBDIRS = po src data + +-beruskydocdir = ${prefix}/doc/berusky +-beruskydoc_DATA = \ ++EXTRA_DIST = \ + README\ + COPYING\ + AUTHORS\ +@@ -15,10 +14,6 @@ + NEWS\ + TODO + +-EXTRA_DIST = $(beruskydoc_DATA) +- +- +- + # Copy all the spec files. Of cource, only one is actually used. + dist-hook: + for specfile in *.spec; do \ +--- data/Makefile.am ++++ data/Makefile.am +@@ -3,10 +3,3 @@ + ## Created by Anjuta - will be overwritten + ## If you don't want it to overwrite it, + ## Please disable it in the Anjuta project configuration +- +-berusky_datadir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/@PACKAGE@ +- +-berusky_data_DATA = \ +- berusky.ini +- +-EXTRA_DIST = $(berusky_data_DATA) +--- berusky.ini ++++ berusky.ini +@@ -1,9 +1,9 @@ + # Configuration for berusky game + + # Game data location +-level_data = /usr/share/berusky/Levels +-game_data = /usr/share/berusky/GameData +-graphics_data = /usr/share/berusky/Graphics ++level_data = @GENTOO_DATADIR@/Levels ++game_data = @GENTOO_DATADIR@/GameData ++graphics_data = @GENTOO_DATADIR@/Graphics + + # Graphics settings for game and editor + # game runs in 640x480 +@@ -17,7 +17,7 @@ + + # Game binary & tmp dir + # they're used by editor for "run level" command +-game_binary = /usr/bin/berusky ++game_binary = @GENTOO_BINDIR@/berusky + tmp_data = /var/tmp + + # Dir for users levels (it's the default level dir for level editor) +--- src/defines.h ++++ src/defines.h +@@ -446,7 +446,7 @@ + #define INI_USER_DIRECTORY "~/.berusky" + #define INI_USER_LEVELS "~/.berusky/User" + #define INI_USER_PROFILES "~/.berusky/Profiles" +-#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME ++#define INI_FILE_GLOBAL "@GENTOO_DATADIR@/"INI_FILE_NAME + #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME + #define INI_FILE_LOCAL "./"INI_FILE_NAME + #elif WINDOWS |