mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/oblige: Gcc 4.7 compile fix.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
87f1b89ea2
commit
224990e9dc
2 changed files with 12 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
PRGNAM=oblige
|
||||
VERSION=${VERSION:-3.57}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
|
Loading…
Reference in a new issue