diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2000-01-31 17:38:53 +0800 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2000-01-31 17:38:53 +0800 |
commit | 5080f07f18128d82715f5c19827df878f77f4462 (patch) | |
tree | 56fc261c93635f06dc6a4a499c13f616fc377b64 /audio/mpg123 | |
parent | ecc8e5ace2ec7800ac0ceeda7f7b03095b34140a (diff) | |
download | freebsd-ports-gnome-5080f07f18128d82715f5c19827df878f77f4462.tar.gz freebsd-ports-gnome-5080f07f18128d82715f5c19827df878f77f4462.tar.zst freebsd-ports-gnome-5080f07f18128d82715f5c19827df878f77f4462.zip |
Correct patch breakage introduced in rev 1.15.
Diffstat (limited to 'audio/mpg123')
-rw-r--r-- | audio/mpg123/files/patch-aa | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/audio/mpg123/files/patch-aa b/audio/mpg123/files/patch-aa index ee4d2719679c..e9daa5475a2c 100644 --- a/audio/mpg123/files/patch-aa +++ b/audio/mpg123/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Tue Jun 15 16:39:06 1999 -+++ Makefile Sat Jan 15 15:54:59 2000 -@@ -4,7 +4,7 @@ +--- Makefile.orig Wed Feb 2 03:34:45 2000 ++++ Makefile Wed Feb 2 03:36:53 2000 +@@ -4,13 +4,15 @@ # Where to install binary and manpage on "make install": @@ -9,9 +9,18 @@ BINDIR=$(PREFIX)/bin MANDIR=$(PREFIX)/man SECTION=1 -@@ -285,35 +285,51 @@ - #CFLAGS='-DI386_ASSEM -O2 -DREAL_IS_FLOAT -DLINUX -Wall -g' - #CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2' + + # Enable the below line If your plathome support IPv6 +-#CFLAGS+= -DINET6 ++.if defined(USE_INET6) ++CFLAGS+= -DINET6 ++.endif + # Additional LIBDIR and libraries if exist + IPV6LIBDIR= + IPV6LIB= +@@ -300,35 +302,49 @@ + #CFLAGS='$(CFLAGS) -DI386_ASSEM -O2 -DREAL_IS_FLOAT -DLINUX -Wall -g' + #CFLAGS='$(CFLAGS) -DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2' +CC ?= cc +LDFLAGS = @@ -31,12 +40,11 @@ + ${INSTALL} ./precompiled/linux-i386/dct64_3dnow.o . +decode_3dnow.o: + ${INSTALL} ./precompiled/linux-i386/decode_3dnow.o . -+ +.endif +.endif + +CFLAGS +=-Wall -ansi -pedantic -fomit-frame-pointer \ -+ -ffast-math -DROT_I386 \ ++ -funroll-all-loops -ffast-math -DROT_I386 \ + -DREAD_MMAP \ + -DI386_ASSEM ${ARCHOPT} -DREAL_IS_FLOAT -DUSE_MMAP -DOSS -DTERM_CONTROL + @@ -48,26 +56,24 @@ freebsd: - $(MAKE) CC=cc LDFLAGS= \ - OBJECTS='decode_i386.o dct64_i386.o audio_oss.o' \ -- CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ +- CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ - -funroll-all-loops -ffast-math -DROT_I386 \ - -DREAD_MMAP \ - -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \ -- mpg123-make -+ ${MAKE} OPT_ARCH=${OPT_ARCH} \ -+ OBJECTS='decode_i386.o ${ARCHFILES} audio_oss.o term.o' \ -+ mpg123-make ++ ${MAKE} OBJECTS='decode_i386.o ${ARCHFILES} audio_oss.o term.o' \ + mpg123-make freebsd-esd: - $(MAKE) CC=cc LDFLAGS= \ - AUDIO_LIB='-lesd -laudiofile' \ - OBJECTS='decode_i386.o dct64_i386.o $(GETBITS) audio_esd.o' \ -- CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ +- CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ - -funroll-all-loops -ffast-math -DROT_I386 \ - -DREAD_MMAP \ - -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS \ - -I/usr/local/include -L/usr/local/lib \ - $(CFLAGS)' \ -+ $(MAKE) OPT_ARCH=${OPT_ARCH} AUDIO_LIB='-lesd -laudiofile' \ ++ $(MAKE) AUDIO_LIB='-lesd -laudiofile' \ + OBJECTS='decode_i386.o ${ARCHFILES} audio_esd.o term.o' \ mpg123-make @@ -76,14 +82,14 @@ - OBJECTS='decode_i386.o dct64_i386.o audio_oss.o \ + $(MAKE) OBJECTS='decode_i386.o ${ARCHFILES} audio_oss.o \ control_sajber.o control_tk3play.o' \ -- CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ +- CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ - -funroll-all-loops -ffast-math -DROT_I386 \ - -DFRONTEND \ - -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \ $(FRONTEND) -@@ -552,7 +568,7 @@ +@@ -567,7 +583,7 @@ @ $(MAKE) CFLAGS='$(CFLAGS)' BINNAME=mpg123m mpg123 mpg123-make: |