summaryrefslogtreecommitdiff
path: root/games/tuxpuck/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-31 14:08:59 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-31 14:08:59 +0000
commitbe501e65e759efdc61a3b36fa077a8de5966aad9 (patch)
tree2f04c7a04fab808ac2f234579ac4839e7e051bce /games/tuxpuck/files
parentAdd wmfirew 0.20, a dockapp that shows fireworks in action. (diff)
add tuxpuck 0.7.116
Shufflepuck Cafe Clone PR: 37512 Submitted by: Jan Stocker <Jan.Stocker@t-online.de>
Notes
Notes: svn path=/head/; revision=60381
Diffstat (limited to 'games/tuxpuck/files')
-rw-r--r--games/tuxpuck/files/patch-Makefile36
-rw-r--r--games/tuxpuck/files/patch-tuxpuck.c11
2 files changed, 47 insertions, 0 deletions
diff --git a/games/tuxpuck/files/patch-Makefile b/games/tuxpuck/files/patch-Makefile
new file mode 100644
index 000000000000..816dbfed65a0
--- /dev/null
+++ b/games/tuxpuck/files/patch-Makefile
@@ -0,0 +1,36 @@
+--- Makefile.orig Thu Apr 25 23:14:27 2002
++++ Makefile Thu Apr 25 23:25:55 2002
+@@ -1,7 +1,7 @@
+ # Makefile for TuxPuck , Copyright Jacob Kroon 2001-2002
+ VERSION = 0.7.109
+ CC = gcc
+-CFLAGS += `sdl-config --cflags` -D_VERSION=\"$(VERSION)\" \
++CFLAGS += `$(SDL_CONFIG) --cflags` -D_VERSION=\"$(VERSION)\" \
+ -g -Wall -Werror
+ CSOURCES = tuxpuck.c video.c audio.c sprite.c font.c timer.c board.c \
+ entity.c glass.c scoreboard.c player.c zoom.c png.c jpg.c \
+@@ -11,6 +11,7 @@
+
+ #############################################################
+
++
+ OBJS=$(CSOURCES:.c=.o)
+
+ %.o : %.c
+@@ -18,7 +19,7 @@
+
+ tuxpuck : $(OBJS)
+ cd data; $(MAKE)
+- $(CC) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng -ljpeg \
++ $(CC) $(OBJS) data/libdata.a `$(SDL_CONFIG) --libs` -lm -lpng -ljpeg \
+ -lz -lvorbisfile -lvorbis -o tuxpuck
+
+ clean :
+@@ -55,3 +56,7 @@
+ install -d $(DESTDIR)/usr/man/man6
+ install -m755 tuxpuck $(DESTDIR)/usr/bin
+ install -m644 man/tuxpuck.6.gz $(DESTDIR)/usr/man/man6
++
++all : tuxpuck
++
++
diff --git a/games/tuxpuck/files/patch-tuxpuck.c b/games/tuxpuck/files/patch-tuxpuck.c
new file mode 100644
index 000000000000..ca26c8ca23b0
--- /dev/null
+++ b/games/tuxpuck/files/patch-tuxpuck.c
@@ -0,0 +1,11 @@
+--- tuxpuck.c.orig Thu Apr 25 23:24:18 2002
++++ tuxpuck.c Thu Apr 25 23:24:39 2002
+@@ -40,7 +40,7 @@
+ #endif
+
+ /* externals */
+-extern time_t time(time_t *);
++#include <time.h>
+ extern void run_intro(void);
+ extern AIPlayer *tux_create(Pad *, Puck *);
+ extern AIPlayer *arcana_create(Pad *, Puck *);