On Fri, Dec 11, 2009 at 09:18:11AM +0000, Jacob Meuser wrote:
> tested with the example programs in audio/freealut and with
> games/warzone2100.  patches for those following shortly.

and here they are.  sound in warzone2100 still sucks on my machine.
I tried several things in openal to make it sound better but no
luck.  probably needs to be fixed in warzone2100 itself.

-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: audio/freealut/Makefile
===================================================================
RCS file: /cvs/ports/audio/freealut/Makefile,v
retrieving revision 1.3
diff -N -u -p audio/freealut/Makefile
--- audio/freealut/Makefile     24 Aug 2009 15:27:49 -0000      1.3
+++ audio/freealut/Makefile     11 Dec 2009 09:22:58 -0000
@@ -3,6 +3,7 @@
 COMMENT=       OpenAL Utility Toolkit
 
 DISTNAME=      freealut-1.1.0
+PKGNAME=       ${DISTNAME}p0
 SHARED_LIBS +=  alut                 1.0      # .1.0
 CATEGORIES=    audio
 
@@ -14,7 +15,7 @@ PERMIT_PACKAGE_FTP=   Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-WANTLIB=       m ossaudio pthread
+WANTLIB=       m pthread sndio
 
 MASTER_SITES=  http://connect.creativelabs.com/openal/Downloads/ALUT/
 
@@ -24,7 +25,7 @@ USE_LIBTOOL=  Yes
 CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS=        --enable-dependency-tracking
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/" \
-               LDFLAGS="-lossaudio -L${LOCALBASE}/lib"
+               LDFLAGS="-L${LOCALBASE}/lib"
 
 TESTS= errorstuff fileloader memoryloader retrostuff version waveforms
 
Index: games/warzone2100/Makefile
===================================================================
RCS file: /cvs/ports/games/warzone2100/Makefile,v
retrieving revision 1.3
diff -N -u -p games/warzone2100/Makefile
--- games/warzone2100/Makefile  10 Aug 2009 06:31:43 -0000      1.3
+++ games/warzone2100/Makefile  11 Dec 2009 09:22:58 -0000
@@ -3,7 +3,7 @@
 COMMENT=       3d realtime strategy on a future earth
 
 DISTNAME=      warzone2100-2.0.7
-PKGNAME=       ${DISTNAME}p0
+PKGNAME=       ${DISTNAME}p1
 CATEGORIES=    games
 EXTRACT_SUFX=  .tar.bz2
 
@@ -16,8 +16,7 @@ PERMIT_PACKAGE_CDROM= Yes
 PERMIT_PACKAGE_FTP=    Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
-WANTLIB=       GL GLU SDL X11 Xext c m ogg ossaudio pthread pthread-stubs \
-               usbhid xcb z
+WANTLIB=       GL GLU SDL X11 c m ogg pthread z
 
 MASTER_SITES=  http://download.gna.org/warzone/releases/2.0/
 
@@ -42,7 +41,7 @@ CONFIGURE_ARGS+=${CONFIGURE_SHARED}
 CONFIGURE_ENV+=        CPPFLAGS='-I${LOCALBASE}/include 
-I${LOCALBASE}/include/libpng \
                    -I${X11BASE}/include' \
                LDFLAGS='-L${LOCALBASE}/lib -L${X11BASE}/lib' \
-               LIBS='-pthread -lossaudio' \
+               LIBS='-pthread' \
                YACC='bison -y'
 
 .include <bsd.port.mk>
Index: games/warzone2100/pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/warzone2100/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -N -u -p games/warzone2100/pkg/PLIST
--- games/warzone2100/pkg/PLIST 22 Jul 2007 14:57:52 -0000      1.1.1.1
+++ games/warzone2100/pkg/PLIST 11 Dec 2009 09:22:58 -0000
@@ -1,6 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/22 14:57:52 simon Exp $
-bin/warzone2100
-share/applications/
+...@bin bin/warzone2100
 share/applications/warzone2100.desktop
 share/doc/warzone2100/
 share/doc/warzone2100/README

Reply via email to