aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-03-10 18:10:03 +0800
committersobomax <sobomax@FreeBSD.org>2001-03-10 18:10:03 +0800
commite4c5fe5818096c5c4fa59afd65ba252f8f46b84a (patch)
treee350628fa6019544008163a85e2466ab4b8c0377 /audio
parent954d55ac208768090c68c2dcfc928105a10e4930 (diff)
downloadfreebsd-ports-gnome-e4c5fe5818096c5c4fa59afd65ba252f8f46b84a.tar.gz
freebsd-ports-gnome-e4c5fe5818096c5c4fa59afd65ba252f8f46b84a.tar.zst
freebsd-ports-gnome-e4c5fe5818096c5c4fa59afd65ba252f8f46b84a.zip
Fix building on the plain old i386.
Diffstat (limited to 'audio')
-rw-r--r--audio/mpg123/files/patch-aa15
1 files changed, 10 insertions, 5 deletions
diff --git a/audio/mpg123/files/patch-aa b/audio/mpg123/files/patch-aa
index b861adaac1d8..3c742412f8bc 100644
--- a/audio/mpg123/files/patch-aa
+++ b/audio/mpg123/files/patch-aa
@@ -1,5 +1,8 @@
---- Makefile.orig Sun Dec 17 02:23:13 2000
-+++ Makefile Sun Dec 17 02:26:42 2000
+
+$FreeBSD$
+
+--- Makefile.orig Sat Mar 10 11:50:58 2001
++++ Makefile Sat Mar 10 12:02:21 2001
@@ -4,13 +4,15 @@
# Where to install binary and manpage on "make install":
@@ -18,7 +21,7 @@
# Additional LIBDIR and libraries if exist
IPV6LIBDIR=
IPV6LIB=
-@@ -300,35 +302,63 @@
+@@ -300,35 +302,65 @@
#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'
@@ -30,7 +33,9 @@
+ -DROT_I386 -DI386_ASSEM -DREAL_IS_FLOAT
+ARCHFILES= decode_i386.o
+CFLAGS ?=-O4 -m486
-+.if defined(OPT_ARCH)
++.if !defined(OPT_ARCH)
++ARCHFILES+= dct64_i386.c
++.else
+.if (${OPT_ARCH} == "i486")
+ARCHOPT+= -DI486_OPT
+ARCHFILES+= decode_i486.o dct64_i486.o dct64_i386.o
@@ -103,7 +108,7 @@
$(FRONTEND)
-@@ -567,7 +597,7 @@
+@@ -567,7 +599,7 @@
@ $(MAKE) CFLAGS='$(CFLAGS)' BINNAME=mpg123m mpg123
mpg123-make: