From owner-freebsd-ports Wed May 15 9: 0:35 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 145EA37B406 for ; Wed, 15 May 2002 09:00:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4FG05155177; Wed, 15 May 2002 09:00:05 -0700 (PDT) (envelope-from gnats) Received: from anton-pc.chel.com.ru (anton-pc.chel.com.ru [194.186.250.66]) by hub.freebsd.org (Postfix) with ESMTP id B1AC137B400 for ; Wed, 15 May 2002 08:53:41 -0700 (PDT) Received: (from anton@localhost) by anton-pc.chel.com.ru (8.11.6/8.11.1) id g4FFrbA80508; Wed, 15 May 2002 21:53:37 +0600 (YEKST) (envelope-from anton) Message-Id: <200205151553.g4FFrbA80508@anton-pc.chel.com.ru> Date: Wed, 15 May 2002 21:53:37 +0600 (YEKST) From: Anton Voronin Reply-To: Anton Voronin To: FreeBSD-gnats-submit@FreeBSD.org Cc: darius@dons.net.au X-Send-Pr-Version: 3.113 Subject: ports/38111: quake-gl sound fix for games/quakeforge Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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