From ce282119a630f9d653117a5b573a4798b48a809c Mon Sep 17 00:00:00 2001 From: uqs Date: Tue, 8 Feb 2011 19:37:20 +0000 Subject: - Unbreak libogg detection in configure script - Make it compile with IPv6 support PR: ports/154590 Submitted by: uqs Approved by: maintainer Feature safe: yes --- audio/musicpd/Makefile | 3 +++ audio/musicpd/files/patch-src_output_httpd_output_plugin.c | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 audio/musicpd/files/patch-src_output_httpd_output_plugin.c (limited to 'audio') diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile index 427d2c16ab9a..8632bed2aa61 100644 --- a/audio/musicpd/Makefile +++ b/audio/musicpd/Makefile @@ -7,6 +7,7 @@ PORTNAME= musicpd PORTVERSION= 0.16.1 +PORTREVISION= 1 CATEGORIES= audio ipv6 MASTER_SITES= SF/${PORTNAME}/mpd/${PORTVERSION} DISTNAME= mpd-${PORTVERSION} @@ -227,6 +228,8 @@ CONFIGURE_ARGS+=--enable-lsr post-patch: @${REINPLACE_CMD} -e "s/%%MPDDIR%%/${PREFIX:C/\//\\\//g}\/${MPDDIR:C/\//\\\//g}/g" -e "s/%%MPDUSER%%/${MPDUSER}/g" \ ${WRKSRC}/doc/mpdconf.example + ${REINPLACE_CMD} -e 's/tremor == xno/tremor = xno/' \ + ${WRKSRC}/configure .if (${OSVERSION} < 800000) ${REINPLACE_CMD} -e 's/nan[f]\{0,1\}(\"\")/NAN/g' \ ${WRKSRC}/src/crossfade.c \ diff --git a/audio/musicpd/files/patch-src_output_httpd_output_plugin.c b/audio/musicpd/files/patch-src_output_httpd_output_plugin.c new file mode 100644 index 000000000000..f2cec1a491d7 --- /dev/null +++ b/audio/musicpd/files/patch-src_output_httpd_output_plugin.c @@ -0,0 +1,10 @@ +--- src/output/httpd_output_plugin.c.orig ++++ src/output/httpd_output_plugin.c +@@ -32,6 +32,7 @@ + #include + + #include ++#include + #include + #include + -- cgit