summaryrefslogtreecommitdiff
path: root/audio/arts
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2003-11-03 12:07:28 +0000
committermrg <mrg@pkgsrc.org>2003-11-03 12:07:28 +0000
commitaf80b194ba9638bae3de1eb9b3b12afd064c48fc (patch)
treeeed56f7f94078571fa9d63e24e0c8c1e538e8dfd /audio/arts
parent6562697527304c9d29323f724ae7454ea65c544b (diff)
downloadpkgsrc-af80b194ba9638bae3de1eb9b3b12afd064c48fc.tar.gz
include <sys/param.h> to get __NetBSD_Version__ symbol. fixes a compile
time warning and makes the patch do what it was trying to do...
Diffstat (limited to 'audio/arts')
-rw-r--r--audio/arts/distinfo4
-rw-r--r--audio/arts/patches/patch-ac21
2 files changed, 18 insertions, 7 deletions
diff --git a/audio/arts/distinfo b/audio/arts/distinfo
index 59a791b07dc..1e2665f2d72 100644
--- a/audio/arts/distinfo
+++ b/audio/arts/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.15 2003/09/17 23:01:46 markd Exp $
+$NetBSD: distinfo,v 1.16 2003/11/03 12:07:28 mrg Exp $
SHA1 (arts-1.1.4.tar.bz2) = 021b1320af27c8dfe3fcb3dc2e7e39d56cf08bff
Size (arts-1.1.4.tar.bz2) = 987612 bytes
SHA1 (patch-ab) = 06265879020edf24ff51403565fd422c3b7a17e5
-SHA1 (patch-ac) = 73cc8b5398d4191dfbf817d4b2e03917ab2ba6f6
+SHA1 (patch-ac) = de22843493a184f4aa8c20e011aa2a73ad794728
SHA1 (patch-af) = 9a130ccd7f56656bb55e2c5edf223c38c69be591
SHA1 (patch-ag) = 30177e80960a2877fb69cb5ffaadc4aa0d0783fc
SHA1 (patch-ah) = a16f6b51896396d4cd02eab810d1568e946d4ef7
diff --git a/audio/arts/patches/patch-ac b/audio/arts/patches/patch-ac
index 9cadc3a3b94..6cb71258b4d 100644
--- a/audio/arts/patches/patch-ac
+++ b/audio/arts/patches/patch-ac
@@ -1,8 +1,19 @@
-$NetBSD: patch-ac,v 1.3 2002/08/25 19:21:45 jlam Exp $
+$NetBSD: patch-ac,v 1.4 2003/11/03 12:07:28 mrg Exp $
---- flow/cpuinfo.cc.orig Mon Mar 18 12:39:39 2002
-+++ flow/cpuinfo.cc
-@@ -204,6 +204,7 @@
+--- flow/cpuinfo.cc.orig 2003-07-14 05:33:37.000000000 +1000
++++ flow/cpuinfo.cc 2003-11-03 22:51:44.000000000 +1100
+@@ -27,6 +27,10 @@
+ #include <setjmp.h>
+ #include <signal.h>
+
++#if defined(__NetBSD__)
++#include <sys/param.h>
++#endif
++
+ using namespace Arts;
+
+ int CpuInfo::s_flags = 0;
+@@ -204,6 +208,7 @@
: /* no input */
: "memory"
);
@@ -10,7 +21,7 @@ $NetBSD: patch-ac,v 1.3 2002/08/25 19:21:45 jlam Exp $
// SSE must be supported by the OS, if it's not, any SSE insn will
// trigger an invalid opcode exception, to check for this, a SIGILL
// handler is installed and a SSE insn run. If the handler is called,
-@@ -226,6 +227,7 @@
+@@ -226,6 +231,7 @@
}
signal(SIGILL, oldHandler);
}