On Saturday 21 May 2011 21:05:25 Jacob Meuser wrote: > On Sat, May 21, 2011 at 02:56:36AM -0700, Ryan Freeman wrote: > > - sound is slightly modified snd_sndio.c from the games/quake port > > (works actually better than existing quake port which has dreadful > > audio sounding like its being overdriven by 100dB) i blame something > > in the old ver of quakeforge over Jacob's snd_sndio.c ;) > > wtf? sound is indeed majorly mangled. this used to work perfectly. > > hmm, cc -O2 -pipe -pthread -Wall -Did386=0 -O2 -pipe -pthread -Wall -Wall > -DQUAKEWORLD -Wall -O6 -ffast-math -funroll-loops -fomit-frame-pointer > -fexpensive-optimizations ... > > maybe gcc4 does something different with those switches than gcc3 did?
My hardware has changed but yeah last time I checked too it was working fine. The attached diff makes quake honour CFLAGS again. The --enable-release didn't seem to be linked to anything else than enabling some GCC optimization flags. The extra flags don't seem to be the fault here though. Adjusted also the license marker. There are lots of other stuff I could do with the port, but I'm waiting to see what happens with tyr-quake first. -- Antti Harri --- games/quake/Makefile +++ games/quake/Makefile @@ -19,7 +19,7 @@ HOMEPAGE= http://www.viagenie.qc.ca/en/ipv6-quake.shtml MASTER_SITES= ${MASTER_SITE_BACKUP} MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/ -# GPL +# GPLv2 PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes PERMIT_PACKAGE_CDROM= Yes @@ -36,8 +36,7 @@ FLAVOR?= sdl CONFIGURE_ENV=LDFLAGS='-L${LOCALBASE}/lib -L${X11BASE}/lib' CONFIGURE_ENV+=CPPFLAGS='-I${LOCALBASE}/include -I${X11BASE}/include' CONFIGURE_STYLE= autoconf -CONFIGURE_ARGS= --enable-release -CONFIGURE_ARGS+= --bindir=/bin \ +CONFIGURE_ARGS = --bindir=/bin \ --with-opengl=no --with-opengl-includes=no WANTLIB-main= ${WANTLIB} sndio
