summaryrefslogtreecommitdiff
path: root/audio/muse/patches
diff options
context:
space:
mode:
authorasau <asau>2014-04-23 20:14:03 +0000
committerasau <asau>2014-04-23 20:14:03 +0000
commit1abd01da035903f0957ba9ecac98e64d4c65709d (patch)
tree0a5919267112e341fb7b5b110c49e79c6eabe0a7 /audio/muse/patches
parent8771dff3f5352c438ef863d563672136a8010698 (diff)
downloadpkgsrc-1abd01da035903f0957ba9ecac98e64d4c65709d.tar.gz
Fix build on FreeBSD 10.
Diffstat (limited to 'audio/muse/patches')
-rw-r--r--audio/muse/patches/patch-aa4
-rw-r--r--audio/muse/patches/patch-ab14
2 files changed, 3 insertions, 15 deletions
diff --git a/audio/muse/patches/patch-aa b/audio/muse/patches/patch-aa
index 97d4e77f35d..8d083485d13 100644
--- a/audio/muse/patches/patch-aa
+++ b/audio/muse/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2009/03/11 14:42:35 hasso Exp $
+$NetBSD: patch-aa,v 1.3 2014/04/23 20:14:03 asau Exp $
--- src/shout/sock.h.orig 2004-04-30 01:49:50.000000000 +0200
+++ src/shout/sock.h 2004-04-30 01:50:10.000000000 +0200
@@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.2 2009/03/11 14:42:35 hasso Exp $
#endif
-#ifdef HAVE_SYS_UIO_H
-+#if defined(HAVE_SYS_UIO_H) || defined(__NetBSD__) || defined(__DragonFly__)
++#if defined(HAVE_SYS_UIO_H) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
#include <sys/uio.h>
#else
#ifndef _SYS_UIO_H
diff --git a/audio/muse/patches/patch-ab b/audio/muse/patches/patch-ab
index bcf2abfd361..4a4ae1b4d58 100644
--- a/audio/muse/patches/patch-ab
+++ b/audio/muse/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.3 2011/11/22 16:38:28 marino Exp $
+$NetBSD: patch-ab,v 1.4 2014/04/23 20:14:03 asau Exp $
--- src/jmixer.cpp.orig 2004-04-09 17:50:43.000000000 +0000
+++ src/jmixer.cpp
@@ -11,15 +11,3 @@ $NetBSD: patch-ab,v 1.3 2011/11/22 16:38:28 marino Exp $
}
Stream_mixer::~Stream_mixer() {
-@@ -627,7 +627,11 @@ bool Stream_mixer::set_playmode(int ch,
- /* this is the function selecting files for the scandir
- on freebsd systems you should change the following line to:
- int selector(struct dirent *dir) { */
-+#if defined(__FreeBSD__)
-+int selector(struct dirent *dir) {
-+#else
- int selector(const struct dirent *dir) {
-+#endif
- if( strncasecmp(dir->d_name+strlen(dir->d_name)-4,".mp3",4)==0
- #ifdef HAVE_VORBIS
- || strncasecmp(dir->d_name+strlen(dir->d_name)-4,".ogg",4)==0