View | Details | Raw Unified | Return to bug 247274 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 2-11 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	darkice
4
PORTNAME=	darkice
5
PORTVERSION=	1.3
5
PORTVERSION=	1.4
6
PORTREVISION=	2
6
PORTREVISION=	2
7
CATEGORIES=	audio net
7
CATEGORIES=	audio net
8
MASTER_SITES=	SF
8
MASTER_SITES=	https://github.com/rafael2k/darkice/releases/download/v${PORTVERSION}/
9
9
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	IceCast, IceCast2, and ShoutCast live audio streamer
11
COMMENT=	IceCast, IceCast2, and ShoutCast live audio streamer
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1475029544
1
TIMESTAMP = 1592166243
2
SHA256 (darkice-1.3.tar.gz) = 2c0d0faaa627c0273b2ce8b38775a73ef97e34ef866862a398f660ad8f6e9de6
2
SHA256 (darkice-1.4.tar.gz) = e6a8ec2b447cf5b4ffaf9b62700502b6bdacebf00b476f4e9bf9f9fe1e3dd817
3
SIZE (darkice-1.3.tar.gz) = 371411
3
SIZE (darkice-1.4.tar.gz) = 364782
(-)files/patch-darkice.cfg (+13 lines)
Line 0 Link Here
1
--- darkice.cfg
2
+++ darkice.cfg
3
@@ -26,7 +26,9 @@ bitrate         = 96        # bitrate of the stream sent to the server
4
 server          = yp.yourserver.com
5
                             # host name of the server
6
 port            = 8000      # port of the IceCast2 server, usually 8000
7
-password        = hackme    # source password to the IceCast2 server
8
+# source password to the IceCast2 server
9
+password        = hackme
10
+# there must not be a comment following the password
11
 mountPoint      = sample96  # mount point of this stream on the IceCast2 server
12
 name            = DarkIce trial
13
                             # name of the stream
(-)files/patch-src_FaacEncoder.cpp (-13 lines)
Lines 1-13 Link Here
1
--- src/FaacEncoder.cpp.orig	2015-05-18 17:38:07 UTC
2
+++ src/FaacEncoder.cpp
3
@@ -95,7 +95,9 @@ FaacEncoder :: open ( void )
4
     faacConfig->useTns        = 1;
5
     faacConfig->shortctl      = SHORTCTL_NORMAL;
6
     faacConfig->useLfe        = 0;
7
-    faacConfig->allowMidside  = 1;
8
+    //Do not set allowMidside for API compatibility with faac,
9
+    //see https://github.com/knik0/faac/issues/8 for details
10
+    //faacConfig->allowMidside  = 1;
11
     faacConfig->bitRate       = getOutBitrate() * 1000 / getOutChannel();
12
     faacConfig->bandWidth     = lowpass;
13
     faacConfig->quantqual     = (unsigned long) (getOutQuality() * 1000.0);

Return to bug 247274