From nobody@FreeBSD.org  Fri Dec 14 23:06:41 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8FCDC16A421
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Dec 2007 23:06:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 6E0AC13C458
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Dec 2007 23:06:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBEN6UaE019994
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Dec 2007 23:06:30 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lBEN6U8J019993;
	Fri, 14 Dec 2007 23:06:30 GMT
	(envelope-from nobody)
Message-Id: <200712142306.lBEN6U8J019993@www.freebsd.org>
Date: Fri, 14 Dec 2007 23:06:30 GMT
From: Matthieu Bollot <mattboll@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch]audio/musicpd shout support
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: jo.lindqvist@gmail.com

>Number:         118707
>Category:       ports
>Synopsis:       [patch]audio/musicpd shout support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 14 23:10:03 UTC 2007
>Closed-Date:    Fri Mar 07 19:43:46 UTC 2008
>Last-Modified:  Fri Mar 07 19:43:46 UTC 2008
>Originator:     Matthieu Bollot
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD lisa.bob.selfip.org 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #5: Sun Nov 25 18:35:33 CET 2007     mattboll@lisa.bob.selfip.org:/usr/obj/usr/src/sys/LISA  i386
>Description:
There is an option to compile musicpd with shoutcast support, which means that we could use it with icecast.
By the way, my patch just give choice in make config, whereas now the option is disabled.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- /usr/ports/audio/musicpd/Makefile.orig	Fri Aug 24 20:59:10 2007
+++ /usr/ports/audio/musicpd/Makefile	Tue Sep 18 09:51:16 2007
@@ -31,11 +31,11 @@
 		ICONV "Support for international characters" on \
 	        ID3TAG "Support for id3v1 tag encoding" off \
 		IPV6 "Support for IPV6" on \
-		AO "Support for libao" off
+		AO "Support for libao" off \
+		SHOUTCAST "Support for shoutcast" off
 
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--disable-pulse \
-		--disable-shout
+CONFIGURE_ARGS=	--disable-pulse
 
 .include <bsd.port.pre.mk>
 
@@ -94,6 +94,12 @@
 .ifdef(WITH_AO)
 CONFIGURE_ARGS+=--enable-ao
 LIB_DEPENDS+=	ao.3:${PORTSDIR}/audio/libao
+.endif
+
+.ifdef(WITHOUT_SHOUTCAST)
+CONFIGURE_ARGS+=--disable-shout
+.else
+CONFIGURE_ARGS+=--enable-shout
 .endif
 
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Dec 14 23:10:09 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118707 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Mar 7 19:43:45 UTC 2008 
State-Changed-Why:  
it's already added in another commit. Thanks for your submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118707 
>Unformatted:
