diff options
author | Ulrich Spörlein <uqs@FreeBSD.org> | 2011-02-08 19:37:20 +0000 |
---|---|---|
committer | Ulrich Spörlein <uqs@FreeBSD.org> | 2011-02-08 19:37:20 +0000 |
commit | 4def5c66a2476a9e4ca9c64906143fb767d73dfb (patch) | |
tree | b9d04a204e5ee13edd0721785bf75379388a0ec0 | |
parent | Update to 5.5.9 release [1] (diff) |
- Unbreak libogg detection in configure script
- Make it compile with IPv6 support
PR: ports/154590
Submitted by: uqs
Approved by: maintainer
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=268794
-rw-r--r-- | audio/musicpd/Makefile | 3 | ||||
-rw-r--r-- | audio/musicpd/files/patch-src_output_httpd_output_plugin.c | 10 |
2 files changed, 13 insertions, 0 deletions
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 <assert.h> + + #include <sys/types.h> ++#include <sys/socket.h> + #include <unistd.h> + #include <errno.h> + |