diff options
author | Petar Petrov <ppetrov@paju.oulu.fi> | 2012-12-09 11:00:38 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-11 16:21:57 -0500 |
commit | d884fa6c2e5bbdda2ddb51fc1f1d03d5dcce6601 (patch) | |
tree | c4b4b4c96f749575d936ec4c7b1b7e68670d1674 /games/njam/patches/gcc_46.patch | |
parent | 16abb0a3ab44a54125c3d2f5005b81eef5ae97d5 (diff) | |
download | slackbuilds-d884fa6c2e5bbdda2ddb51fc1f1d03d5dcce6601.tar.gz |
games/njam: Added (The most addictive free pacman-like game)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/njam/patches/gcc_46.patch')
-rw-r--r-- | games/njam/patches/gcc_46.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/games/njam/patches/gcc_46.patch b/games/njam/patches/gcc_46.patch new file mode 100644 index 0000000000..43601d1f36 --- /dev/null +++ b/games/njam/patches/gcc_46.patch @@ -0,0 +1,28 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +Description: gcc4.5 and later are more restrictive with c++ function calls, + this trivial patch fixes build failures with -fpermissive +Author: Andreas Moog <amoog@ubuntu.com> +Last-Update: 2011-07-15 + +=== modified file 'src/njamedit.cpp' +--- a/src/njamedit.cpp 2006-07-27 23:15:50 +0000 ++++ b/src/njamedit.cpp 2011-07-15 20:01:54 +0000 +@@ -114,7 +114,7 @@ + key = SDLK_a; + else if (CheckForSave()) + { +- LogFile::LogFile("Saving maps"); ++ LogFile("Saving maps"); + m_Maps.Save(filename); + level_type_was = level_type; + changed = false; +@@ -131,7 +131,7 @@ + char types[2][5] = { "COOP", "DUEL" }; + sprintf(buf, "levels/%s.%s\0", filename, types[level_type]); + sprintf(filename, "%s\0", buf); +- LogFile::LogFile("Saving maps"); ++ LogFile("Saving maps"); + m_Maps.Save(filename); + level_type_was = level_type; + changed = false; + |