summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-22 05:54:09 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-22 05:54:09 +0000
commit51956593015d1c86b0b3d4b71521c7e1aebc90c9 (patch)
tree8fa6d44eb31bc7b3182607195cbda98c259026e5 /games
parentUpgrade to version 1.01, and make the port depend on freetype2 in (diff)
build with sdl sound
PR: 38111 Submitted by: Anton Voronin <anton@chelcom.ru> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=59670
Diffstat (limited to 'games')
-rw-r--r--games/quakeforge/files/patch-gl-snd31
1 files changed, 31 insertions, 0 deletions
diff --git a/games/quakeforge/files/patch-gl-snd b/games/quakeforge/files/patch-gl-snd
new file mode 100644
index 000000000000..7f87b060eadc
--- /dev/null
+++ b/games/quakeforge/files/patch-gl-snd
@@ -0,0 +1,31 @@
+--- uquake/Makefile.in.orig2 Tue May 14 21:27:45 2002
++++ uquake/Makefile.in Wed May 15 15:09:43 2002
+@@ -203,6 +203,9 @@
+ CL_COMMON_SRC = $(MISC_SRC) $(CL_GUI_SRC) $(CL_SRC) \
+ $(CL_ADDITIONAL_GENERAL_SRC) $(SND_SRC) r_part.c
+
++SDL_CFLAGS = @SDL_CFLAGS@ -DSDL
++SDL_LDFLAGS = @SDL_LIBS@
++
+
+ ########################################################################
+ #
+@@ -352,9 +355,6 @@
+ ALL_SDL_OBJS = $(patsubst %,$(BUILD_DIR)/soft/%,$(addsuffix .@OBJEXT@,\
+ $(basename $(ALL_SDL_SRC) .c .s)))
+
+-SDL_CFLAGS = @SDL_CFLAGS@ -DSDL
+-SDL_LDFLAGS = @SDL_LIBS@
+-
+ $(BUILD_DIR)/soft/vid_sdl.@OBJEXT@: $(COMMON_DIR)/vid_sdl.c
+ $(CC) $(CFLAGS) $(SDL_CFLAGS) -o $@ -c $<
+
+@@ -447,7 +444,7 @@
+ $(BUILD_DIR)/gl/dga_check.@OBJEXT@: $(COMMON_DIR)/dga_check.c
+ $(CC) $(CFLAGS) $(X11_CFLAGS) -o $@ -c $<
+
+-$(BUILD_DIR)/soft/snd_oss.@OBJEXT@: $(COMMON_DIR)/snd_oss.c
++$(BUILD_DIR)/gl/snd_oss.@OBJEXT@: $(COMMON_DIR)/snd_oss.c
+ $(CC) $(CFLAGS) $(SDL_CFLAGS) -o $@ -c $<
+
+ $(GLQUAKE): gl_DIR $(BUILD_DIR)/../$(GLQUAKE)