summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-16 03:25:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-16 03:25:23 +0000
commita647d2ed389b23e8f8ccaaabcd9046ca87f478ad (patch)
treee6db902015821e309223a5ac8df58f776026c43e /games-puzzle/pathological/files/pathological-1.1.3-build.patch
parentStable on SPARC wrt bug #126052. (diff)
downloadgentoo-2-a647d2ed389b23e8f8ccaaabcd9046ca87f478ad.tar.gz
gentoo-2-a647d2ed389b23e8f8ccaaabcd9046ca87f478ad.tar.bz2
gentoo-2-a647d2ed389b23e8f8ccaaabcd9046ca87f478ad.zip
Touchup build.
(Portage version: 2.1_pre6-r3)
Diffstat (limited to 'games-puzzle/pathological/files/pathological-1.1.3-build.patch')
-rw-r--r--games-puzzle/pathological/files/pathological-1.1.3-build.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/games-puzzle/pathological/files/pathological-1.1.3-build.patch b/games-puzzle/pathological/files/pathological-1.1.3-build.patch
new file mode 100644
index 000000000000..d8793a6aef6e
--- /dev/null
+++ b/games-puzzle/pathological/files/pathological-1.1.3-build.patch
@@ -0,0 +1,27 @@
+Use implicit rules to build write-highscores so we dont have to worry
+about CC/CFLAGS/LDFLAGS/etc...
+
+Include stdlib.h to get exit() prototype
+
+--- write-highscores.c
++++ write-highscores.c
+@@ -25,6 +25,7 @@
+ #include <sys/stat.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <stdlib.h>
+
+ #define BUFFER_SIZE 1024
+
+--- Makefile
++++ Makefile
+@@ -4,9 +4,6 @@
+
+ all: write-highscores html/wheel.png
+
+-write-highscores: write-highscores.c
+- gcc -s -o write-highscores write-highscores.c
+-
+ html/wheel.png:
+ ./makehtml
+