diff options
author | uqs <uqs@FreeBSD.org> | 2011-02-09 03:37:20 +0800 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2011-02-09 03:37:20 +0800 |
commit | ce282119a630f9d653117a5b573a4798b48a809c (patch) | |
tree | bc5c90344752f5c36c7771b82ed38e0a9c2c339b /audio | |
parent | f304d78161fda3959a5bc9260f026fc0907cf100 (diff) | |
download | freebsd-ports-gnome-ce282119a630f9d653117a5b573a4798b48a809c.tar.gz freebsd-ports-gnome-ce282119a630f9d653117a5b573a4798b48a809c.tar.zst freebsd-ports-gnome-ce282119a630f9d653117a5b573a4798b48a809c.zip |
- Unbreak libogg detection in configure script
- Make it compile with IPv6 support
PR: ports/154590
Submitted by: uqs
Approved by: maintainer
Feature safe: yes
Diffstat (limited to 'audio')
-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> + |