summaryrefslogtreecommitdiff
path: root/audio/arts
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-09-14 15:44:23 +0000
committerhans <hans@pkgsrc.org>2011-09-14 15:44:23 +0000
commit31f56362e40c491526d78f2b02bec4d76c5084a0 (patch)
tree28c9ffca91f0a2ffc18cf0f78e9a863754eb90ef /audio/arts
parentfc7623bfd7d9cf1a958062a12badd5a10dfd0e53 (diff)
downloadpkgsrc-31f56362e40c491526d78f2b02bec4d76c5084a0.tar.gz
Fix build on SunOS.
Diffstat (limited to 'audio/arts')
-rw-r--r--audio/arts/Makefile4
-rw-r--r--audio/arts/distinfo5
-rw-r--r--audio/arts/patches/patch-an14
-rw-r--r--audio/arts/patches/patch-ao15
-rw-r--r--audio/arts/patches/patch-ap12
5 files changed, 48 insertions, 2 deletions
diff --git a/audio/arts/Makefile b/audio/arts/Makefile
index ff2e9b8e3d4..056a4ba07d6 100644
--- a/audio/arts/Makefile
+++ b/audio/arts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.74 2011/08/20 21:37:49 abs Exp $
+# $NetBSD: Makefile,v 1.75 2011/09/14 15:44:23 hans Exp $
DISTNAME= arts-1.5.10
PKGREVISION= 4
@@ -8,6 +8,8 @@ COMMENT= Analog Real-Time Synthesizer
.include "../../meta-pkgs/kde3/Makefile.kde3"
+CFLAGS.SunOS+= -D_XOPEN_SOURCE=500
+
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= kdelibs-2*
diff --git a/audio/arts/distinfo b/audio/arts/distinfo
index 90028a52da1..ed7ac5d3be5 100644
--- a/audio/arts/distinfo
+++ b/audio/arts/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.51 2009/09/19 21:13:22 tnn Exp $
+$NetBSD: distinfo,v 1.52 2011/09/14 15:44:23 hans Exp $
SHA1 (arts-1.5.10.tar.bz2) = 2e5507f64a4a4a9ad446cc987dff157e38f98274
RMD160 (arts-1.5.10.tar.bz2) = 8c237ebd06ac82b88cf7394722fb8da459902ee7
@@ -16,3 +16,6 @@ SHA1 (patch-aj) = ad2637ffab24e501d858d4a32b337ffbb940e5b0
SHA1 (patch-ak) = 7cad5999aaeb8b596e03309abd4c1a3d54cdefa3
SHA1 (patch-al) = 3352a5c23e475c77d1babbe2bf77be0555e8de78
SHA1 (patch-am) = 6e0ef065220d2ae93cdae162ae7e77a1f7c5ef54
+SHA1 (patch-an) = 91bf3166be69e0347dcb7f86ff84c4b63a761882
+SHA1 (patch-ao) = 0b860143602d452dbb75a2c6046563cfd253f4ce
+SHA1 (patch-ap) = 6685be9c71d6ee4872efed0b03e9fccd7f0cf290
diff --git a/audio/arts/patches/patch-an b/audio/arts/patches/patch-an
new file mode 100644
index 00000000000..bc216564764
--- /dev/null
+++ b/audio/arts/patches/patch-an
@@ -0,0 +1,14 @@
+$NetBSD: patch-an,v 1.1 2011/09/14 15:44:23 hans Exp $
+
+--- mcop/iomanager.cc.orig 2007-10-08 11:47:08.000000000 +0200
++++ mcop/iomanager.cc 2011-07-26 16:34:43.213902758 +0200
+@@ -32,6 +32,9 @@
+
+ #ifdef HAVE_SYS_SELECT_H
+ #include <sys/select.h> // Needed on some systems.
++#ifdef __sun
++#include <string.h> // for memset(), used by FD_ZERO
++#endif
+ #endif
+ // WABA: NOTE!
+ // sys/select.h is needed on e.g. AIX to define "fd_set".
diff --git a/audio/arts/patches/patch-ao b/audio/arts/patches/patch-ao
new file mode 100644
index 00000000000..5e7eb402587
--- /dev/null
+++ b/audio/arts/patches/patch-ao
@@ -0,0 +1,15 @@
+$NetBSD: patch-ao,v 1.1 2011/09/14 15:44:23 hans Exp $
+
+--- soundserver/artsplay.cc.orig 2008-02-13 10:35:22.000000000 +0100
++++ soundserver/artsplay.cc 2011-07-26 16:43:03.112490880 +0200
+@@ -25,6 +25,10 @@
+ #include "soundserver.h"
+ #include "artsversion.h"
+
++#ifdef __sun
++#include <limits.h>
++#endif
++
+ #include <sys/param.h>
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/audio/arts/patches/patch-ap b/audio/arts/patches/patch-ap
new file mode 100644
index 00000000000..dafe4ae59b9
--- /dev/null
+++ b/audio/arts/patches/patch-ap
@@ -0,0 +1,12 @@
+$NetBSD: patch-ap,v 1.1 2011/09/14 15:44:23 hans Exp $
+
+--- flow/audioiosun.cc.orig 2007-10-08 11:47:09.000000000 +0200
++++ flow/audioiosun.cc 2011-07-26 16:37:19.626654499 +0200
+@@ -63,6 +63,7 @@
+ #include <fcntl.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <iostream>
+ #include <algorithm>