diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/tmw/tmw-0.0.29.1-gcc45.patch | 22 | ||||
-rw-r--r-- | games/tmw/tmw.SlackBuild | 4 |
2 files changed, 25 insertions, 1 deletions
diff --git a/games/tmw/tmw-0.0.29.1-gcc45.patch b/games/tmw/tmw-0.0.29.1-gcc45.patch new file mode 100644 index 0000000000..c6cad2a023 --- /dev/null +++ b/games/tmw/tmw-0.0.29.1-gcc45.patch @@ -0,0 +1,22 @@ +--- src/emoteshortcut.cpp.old 2010-05-24 17:17:18.000000000 +0200 ++++ src/emoteshortcut.cpp 2010-05-24 17:18:40.000000000 +0200 +@@ -26,7 +26,7 @@ + + #include "utils/stringutils.h" + +-EmoteShortcut::EmoteShortcut *emoteShortcut; ++EmoteShortcut *emoteShortcut; + + EmoteShortcut::EmoteShortcut(): + mEmoteSelected(0) +--- src/itemshortcut.cpp.old 2010-05-24 17:19:37.000000000 +0200 ++++ src/itemshortcut.cpp 2010-05-24 17:19:49.000000000 +0200 +@@ -30,7 +30,7 @@ + + #include "utils/stringutils.h" + +-ItemShortcut::ItemShortcut *itemShortcut; ++ItemShortcut *itemShortcut; + + ItemShortcut::ItemShortcut(): + mItemSelected(-1) diff --git a/games/tmw/tmw.SlackBuild b/games/tmw/tmw.SlackBuild index 40c034847b..7f53378a65 100644 --- a/games/tmw/tmw.SlackBuild +++ b/games/tmw/tmw.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=tmw VERSION=0.0.29.1 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -67,6 +67,8 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +patch -p0 < $CWD/tmw-0.0.29.1-gcc45.patch + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |