View | Details | Raw Unified | Return to bug 48142
Collapse All | Expand All

(-)audio/darkice/Makefile (-8 / +2 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	darkice
9
PORTNAME=	darkice
10
PORTVERSION=	0.12
10
PORTVERSION=	0.13
11
CATEGORIES=	audio net
11
CATEGORIES=	audio net
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 27-39 Link Here
27
MAN1=	darkice.1
27
MAN1=	darkice.1
28
MAN5=	darkice.cfg.5
28
MAN5=	darkice.cfg.5
29
29
30
.include <bsd.port.pre.mk>
31
32
.if ${OSVERSION} < 5000000
33
USE_GCC=	3.1
34
.endif
35
36
post-patch:
30
post-patch:
37
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
31
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
38
32
39
.include <bsd.port.post.mk>
33
.include <bsd.port.mk>
(-)audio/darkice/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (darkice-0.12.tar.gz) = a28af863edaab12366a5b66b167b8fd6
1
MD5 (darkice-0.13.tar.gz) = ddf0df78db85278eac4964d7c15ce3ea
(-)audio/darkice/files/patch-src_OssDspSource.cpp (+16 lines)
Line 0 Link Here
1
--- src/OssDspSource.cpp.orig	Sun Jan 26 18:48:57 2003
2
+++ src/OssDspSource.cpp	Mon Feb 10 21:40:43 2003
3
@@ -86,6 +86,13 @@
4
 #error need sys/soundcard.h
5
 #endif
6
 
7
+#if defined(__FreeBSD__)
8
+#if defined(__sparc__) || defined(__powerpc__)
9
+#define AFMT_S16_NE AFMT_S16_BE
10
+#else
11
+#define AFMT_S16_NE AFMT_S16_LE
12
+#endif
13
+#endif
14
 
15
 #include "Util.h"
16
 #include "Exception.h"

Return to bug 48142