summaryrefslogtreecommitdiff
path: root/games/foobillard/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-16 18:56:32 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-16 18:56:32 +0000
commit6b84f63230725858afd1781280a969d3e923f366 (patch)
tree1c7aa9d79327d533b146a6d5bc2ff4b315fbf1a5 /games/foobillard/files
parentAdd a new patch-Double.cpp that fixes the recent core dumps during post-build (diff)
- Update to 2.9
- Add knob to build with SDL instead of glut. PR: ports/59319 Submitted by: Mezz <mezz7@cox.net> Approved by: Thomas Vogt (maintainer) Approved by: marcus (backup mentor)
Notes
Notes: svn path=/head/; revision=94116
Diffstat (limited to 'games/foobillard/files')
-rw-r--r--games/foobillard/files/patch-Makefile.in28
-rw-r--r--games/foobillard/files/patch-billard3d.c10
-rw-r--r--games/foobillard/files/patch-sys_stuff.c6
3 files changed, 22 insertions, 22 deletions
diff --git a/games/foobillard/files/patch-Makefile.in b/games/foobillard/files/patch-Makefile.in
index 613022aaa964..e4833f0335c2 100644
--- a/games/foobillard/files/patch-Makefile.in
+++ b/games/foobillard/files/patch-Makefile.in
@@ -1,9 +1,9 @@
---- src/Makefile.in.orig Thu May 1 08:44:52 2003
-+++ src/Makefile.in Fri Jul 25 13:44:28 2003
-@@ -69,9 +69,9 @@
-
-
- INCLUDES = -DNDEBUG -DDATA_DIRECTORY='"${pkgdatadir}/"'
+--- src/Makefile.in.orig Sat Nov 15 21:06:49 2003
++++ src/Makefile.in Sat Nov 15 21:09:47 2003
+@@ -171,9 +171,9 @@
+ #CXXFLAGS = -O6 -s
+ #CFLAGS = -DXMESA -Wall -O3 -I$(INCDIR)
+ #CFLAGS = -Wall -O3 -I$(INCDIR) `freetype-config --cflags`
-@USE_SDL_TRUE@SDL_CFLAGS = `sdl-config --cflags` -DUSE_SDL
+@USE_SDL_TRUE@SDL_CFLAGS = `$(SDL_CONFIG) --cflags` -DUSE_SDL
@USE_SDL_FALSE@SDL_CFLAGS =
@@ -12,17 +12,17 @@
@USE_SDL_FALSE@SDL_LIBS =
@USE_SDL_TRUE@GLUT_LIBS =
@USE_SDL_FALSE@GLUT_LIBS = -lglut
-@@ -80,11 +80,11 @@
- @USE_BUMPREF_TRUE@BUMPREF_CFLAGS =
- @USE_BUMPREF_FALSE@BUMPREF_CFLAGS = -DNO_NV_BUMPREF
+@@ -187,11 +187,11 @@
+ @USE_SOUND_TRUE@SOUND_CFLAGS = -DUSE_SOUND
+ @USE_SOUND_FALSE@SOUND_CFLAGS =
--CFLAGS = -Wall `freetype-config --cflags` ${SDL_CFLAGS} ${BUMPREF_CFLAGS} ${DEBUG_CFLAGS}
-+CFLAGS += -Wall `freetype-config --cflags` ${SDL_CFLAGS} ${BUMPREF_CFLAGS} ${DEBUG_CFLAGS}
+-AM_CFLAGS = -Wall `freetype-config --cflags` ${SDL_CFLAGS} ${NVIDIA_CFLAGS} ${SOUND_CFLAGS} ${DEBUG_CFLAGS}
++AM_CFLAGS = -Wall `%%FREETYPE_CONFIG%% --cflags` ${SDL_CFLAGS} ${NVIDIA_CFLAGS} ${SOUND_CFLAGS} ${DEBUG_CFLAGS}
#LIBS = -L$(LIBDIR) -lglut -lGLU -lGL -lXext -lXaw -lm -lXi -lpng -lz
#LIBS = -L$(LIBDIR) -lglut -lGLU -lGL -lXext -lXaw -lm -lXi -lpng -lz
--LDFLAGS = ${all_libraries} `freetype-config --libs` ${SDL_LIBS} ${GLUT_LIBS}
-+LDFLAGS = ${all_libraries} `freetype-config --libs` ${SDL_LIBS} ${GLUT_LIBS} @LDFLAGS@
+-AM_LDFLAGS = ${all_libraries} `freetype-config --libs` ${SDL_LIBS} ${GLUT_LIBS}
++AM_LDFLAGS = ${all_libraries} `%%FREETYPE_CONFIG%% --libs` ${SDL_LIBS} ${GLUT_LIBS}
#LDADD = ${X_PRE_LIBS} ${X_LIBS} ${X_EXTRA_LIBS} -lGL -lGLU -lXaw -lm -lXi -lpng -lz -L/home/floh/nvsdk/OpenGL/lib/ -lnvparse
LDADD = ${X_PRE_LIBS} ${X_LIBS} ${X_EXTRA_LIBS} -lGL -lGLU -lXaw -lm -lXi -lpng -lz
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ subdir = src
diff --git a/games/foobillard/files/patch-billard3d.c b/games/foobillard/files/patch-billard3d.c
index ca2ed4776a7a..cee64d1d960a 100644
--- a/games/foobillard/files/patch-billard3d.c
+++ b/games/foobillard/files/patch-billard3d.c
@@ -1,5 +1,5 @@
---- src/billard3d.c.orig Thu May 1 08:32:10 2003
-+++ src/billard3d.c Mon Jul 7 04:29:04 2003
+--- src/billard3d.c.orig Sat Nov 15 21:10:47 2003
++++ src/billard3d.c Sat Nov 15 21:12:13 2003
@@ -24,7 +24,7 @@
#include <string.h>
#include <math.h>
@@ -9,16 +9,16 @@
#ifndef USE_SDL
#include <GL/glut.h>
-@@ -4270,7 +4270,7 @@
+@@ -4960,7 +4960,7 @@
/* config file */
load_config( &confv, &confc, argv, argc );
- while( ( act_option = getopt_long_only(confc, confv, "+", long_options, &option_index) ) >= 0){
+ while( ( act_option = getopt_long(confc, confv, "+", long_options, &option_index) ) >= 0){
+ DPRINTF("processing option %d=%s\n",act_option,optarg);
process_option(act_option);
}
- DPRINTF("main:rgstereo=%d",options_rgstereo_on);
-@@ -4359,7 +4359,7 @@
+@@ -5058,7 +5058,7 @@
fread( &ball_ball_snd.data[SOUND_NULLOFFS*2], 1, ball_ball_snd.len-SOUND_NULLOFFS*2*2 , f );
fclose(f);
diff --git a/games/foobillard/files/patch-sys_stuff.c b/games/foobillard/files/patch-sys_stuff.c
index 19039f0ba66f..c7a41bbfa067 100644
--- a/games/foobillard/files/patch-sys_stuff.c
+++ b/games/foobillard/files/patch-sys_stuff.c
@@ -1,11 +1,11 @@
---- src/sys_stuff.c.orig Sat Oct 26 20:47:23 2002
-+++ src/sys_stuff.c Sat Oct 26 20:47:32 2002
+--- src/sys_stuff.c.orig Sat Nov 15 21:24:23 2003
++++ src/sys_stuff.c Sat Nov 15 21:25:20 2003
@@ -5,7 +5,7 @@
#ifndef USE_SDL
#include <GL/glut.h>
#else
-#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
++#include <SDL.h>
#include <GL/gl.h>
#include <GL/glu.h>
#endif