pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/arts include <sys/param.h> to get __NetBSD_Versi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9eecea6afad
branches:  trunk
changeset: 463255:d9eecea6afad
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Mon Nov 03 12:07:28 2003 +0000

description:
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:

 audio/arts/distinfo         |   4 ++--
 audio/arts/patches/patch-ac |  21 ++++++++++++++++-----
 2 files changed, 18 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r c4071b9a462d -r d9eecea6afad audio/arts/distinfo
--- a/audio/arts/distinfo       Mon Nov 03 11:48:08 2003 +0000
+++ b/audio/arts/distinfo       Mon Nov 03 12:07:28 2003 +0000
@@ -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 -r c4071b9a462d -r d9eecea6afad audio/arts/patches/patch-ac
--- a/audio/arts/patches/patch-ac       Mon Nov 03 11:48:08 2003 +0000
+++ b/audio/arts/patches/patch-ac       Mon Nov 03 12:07:28 2003 +0000
@@ -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 @@
        // 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);
        }



Home | Main Index | Thread Index | Old Index