diff options
author | B. Watson <yalhcru@gmail.com> | 2012-09-20 18:51:15 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-22 11:39:44 -0500 |
commit | 224990e9dc473799557b1805f7023fdb75952099 (patch) | |
tree | b1b012e4f530a3ee72520832d1233d8c2a2878b6 /games/oblige | |
parent | 87f1b89ea22da067bac78968150866d6bbd29ee0 (diff) | |
download | slackbuilds-224990e9dc473799557b1805f7023fdb75952099.tar.gz |
games/oblige: Gcc 4.7 compile fix.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/oblige')
-rw-r--r-- | games/oblige/compile_fixes.diff | 11 | ||||
-rw-r--r-- | games/oblige/oblige.SlackBuild | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/games/oblige/compile_fixes.diff b/games/oblige/compile_fixes.diff index c8589e37e8..6d706af6ab 100644 --- a/games/oblige/compile_fixes.diff +++ b/games/oblige/compile_fixes.diff @@ -10,3 +10,14 @@ diff -Naur oblige_357_src/gui/q_bsp.cc oblige_357_src.patched//gui/q_bsp.cc Append(str, next ? (next - str) : strlen(str));
+diff -Naur oblige_357_src/gui/headers.h oblige_357_src.patched/gui/headers.h +--- oblige_357_src/gui/headers.h 2009-07-17 05:25:11.000000000 -0400 ++++ oblige_357_src.patched/gui/headers.h 2012-09-20 01:45:29.000000000 -0400 +@@ -29,6 +29,7 @@ +
+ /* C library */
+
++#include <unistd.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
diff --git a/games/oblige/oblige.SlackBuild b/games/oblige/oblige.SlackBuild index e306e5c7b1..a834c57b96 100644 --- a/games/oblige/oblige.SlackBuild +++ b/games/oblige/oblige.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=oblige VERSION=${VERSION:-3.57} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then |