diff options
author | 2006-03-16 03:25:23 +0000 | |
---|---|---|
committer | 2006-03-16 03:25:23 +0000 | |
commit | a647d2ed389b23e8f8ccaaabcd9046ca87f478ad (patch) | |
tree | e6db902015821e309223a5ac8df58f776026c43e /games-puzzle/pathological/files/pathological-1.1.3-build.patch | |
parent | Stable on SPARC wrt bug #126052. (diff) | |
download | gentoo-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.patch | 27 |
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 + |