aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-10-12 09:11:19 +0800
committeredwin <edwin@FreeBSD.org>2004-10-12 09:11:19 +0800
commitd5787d437d8e01b44f3fa4d8d8b114ad9686d354 (patch)
treeff3db9aca4bfa9535d963ee5f507fb8ec60440d0
parentc62acacc50d27228b7024596dba7f283d65c34b8 (diff)
downloadfreebsd-ports-gnome-d5787d437d8e01b44f3fa4d8d8b114ad9686d354.tar.gz
freebsd-ports-gnome-d5787d437d8e01b44f3fa4d8d8b114ad9686d354.tar.zst
freebsd-ports-gnome-d5787d437d8e01b44f3fa4d8d8b114ad9686d354.zip
[ maintainer ] audio/mpg123: fix build with DEFAULT_RECODE option and without esound or nas
Fix compilation error when building with DEFAULT_RECODE and without esound or nas support. PR: ports/71772 Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
-rw-r--r--audio/mpg123/Makefile1
-rw-r--r--audio/mpg123/files/patch-aa9
2 files changed, 5 insertions, 5 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 8976b8e02972..3f6ac2096023 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -60,6 +60,7 @@ PKGNAMESUFFIX= -nas
ALL_TARGET= freebsd-nas
.else
ALL_TARGET= freebsd
+CFLAGS+= -DWITH_FREEBSD_DSP_ONLY
.endif
pre-fetch:
diff --git a/audio/mpg123/files/patch-aa b/audio/mpg123/files/patch-aa
index 5127b0c8ffe4..c5f2305731ae 100644
--- a/audio/mpg123/files/patch-aa
+++ b/audio/mpg123/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Sat Jan 31 13:43:04 2004
-+++ Makefile Sat Jan 31 13:44:35 2004
+--- Makefile.orig Wed Sep 15 21:14:24 2004
++++ Makefile Wed Sep 15 21:14:41 2004
@@ -4,13 +4,15 @@
# Where to install binary and manpage on "make install":
@@ -28,7 +28,7 @@
.if defined(WITH_ICONV)
CFLAGS+=-DWITH_ICONV -I${LOCALBASE}/include
LDFLAGS+=-L${LOCALBASE}/lib -liconv
-@@ -308,35 +313,63 @@
+@@ -308,35 +313,62 @@
.endif
.endif
@@ -79,7 +79,6 @@
- -DREAD_MMAP \
- -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \
+ ${MAKE} OBJECTS='${ARCHFILES} audio_oss.o term.o' \
-+ CFLAGS="${CFLAGS} -DWITH_FREEBSD_DSP_ONLY" \
mpg123-make
freebsd-esd:
@@ -113,7 +112,7 @@
$(FRONTEND)
-@@ -575,7 +608,7 @@
+@@ -575,7 +607,7 @@
@ $(MAKE) CFLAGS='$(CFLAGS)' BINNAME=mpg123m mpg123
mpg123-make: