Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 21:53:37 +0600 (YEKST)
From:      Anton Voronin <anton@chelcom.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        darius@dons.net.au
Subject:   ports/38111: quake-gl sound fix for games/quakeforge
Message-ID:  <200205151553.g4FFrbA80508@anton-pc.chel.com.ru>

next in thread | raw e-mail | index | archive | help

>Number:         38111
>Category:       ports
>Synopsis:       quake-gl sound fix for games/quakeforge
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 15 09:00:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Anton Voronin
>Release:        FreeBSD 4.5-RC i386
>Organization:
Intersvyaz JSC
>Environment:

	System: FreeBSD 4.5-RC

>Description:

	quake-gl binary is compiled without sdl sound and direct
	sound via /dev/dsp doesn'd work.

>How-To-Repeat:

	Try to play quake-gl and notice there's no sound and SDL is not used

>Fix:

diff -rNu quakeforge.orig/files/patch-gl-snd quakeforge/files/patch-gl-snd
--- quakeforge.orig/files/patch-gl-snd	Thu Jan  1 05:00:00 1970
+++ quakeforge/files/patch-gl-snd	Wed May 15 15:25:58 2002
@@ -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)
	
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205151553.g4FFrbA80508>