summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2003-02-10 21:38:47 +0000
committerPatrick Li <pat@FreeBSD.org>2003-02-10 21:38:47 +0000
commit75f824b2c56d01a1865b930ec8bef5543569c3c2 (patch)
tree80afcba9546e276d7b0b50994c6c5cddcee8ac43
parentUpdate to 2.5.6 (diff)
Update to 0.13
PR: ports/48142 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=75263
-rw-r--r--audio/darkice/Makefile10
-rw-r--r--audio/darkice/distinfo2
-rw-r--r--audio/darkice/files/patch-src_OssDspSource.cpp16
3 files changed, 19 insertions, 9 deletions
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
index 8ecd148839d4..21d2a44b8d9d 100644
--- a/audio/darkice/Makefile
+++ b/audio/darkice/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= darkice
-PORTVERSION= 0.12
+PORTVERSION= 0.13
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -27,13 +27,7 @@ CONFIGURE_ARGS= --with-lame-prefix=${LOCALBASE} \
MAN1= darkice.1
MAN5= darkice.cfg.5
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 5000000
-USE_GCC= 3.1
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/darkice/distinfo b/audio/darkice/distinfo
index 8455d414da2a..f22ed5790d90 100644
--- a/audio/darkice/distinfo
+++ b/audio/darkice/distinfo
@@ -1 +1 @@
-MD5 (darkice-0.12.tar.gz) = a28af863edaab12366a5b66b167b8fd6
+MD5 (darkice-0.13.tar.gz) = ddf0df78db85278eac4964d7c15ce3ea
diff --git a/audio/darkice/files/patch-src_OssDspSource.cpp b/audio/darkice/files/patch-src_OssDspSource.cpp
new file mode 100644
index 000000000000..52a181145687
--- /dev/null
+++ b/audio/darkice/files/patch-src_OssDspSource.cpp
@@ -0,0 +1,16 @@
+--- src/OssDspSource.cpp.orig Sun Jan 26 18:48:57 2003
++++ src/OssDspSource.cpp Mon Feb 10 21:40:43 2003
+@@ -86,6 +86,13 @@
+ #error need sys/soundcard.h
+ #endif
+
++#if defined(__FreeBSD__)
++#if defined(__sparc__) || defined(__powerpc__)
++#define AFMT_S16_NE AFMT_S16_BE
++#else
++#define AFMT_S16_NE AFMT_S16_LE
++#endif
++#endif
+
+ #include "Util.h"
+ #include "Exception.h"