summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-11 20:49:05 +0000
committerhans <hans@pkgsrc.org>2012-01-11 20:49:05 +0000
commit50af02ede81b5cfa6355800c9163a6d00778b9be (patch)
tree3955e81c714e6aa5463a7b4708a5a1f80ead47c6
parent6bc1fc504280ccf4f1562dbef3d12b98ff2227c7 (diff)
downloadpkgsrc-50af02ede81b5cfa6355800c9163a6d00778b9be.tar.gz
Fix build on SunOS.
-rw-r--r--audio/tfmxplay/distinfo4
-rw-r--r--audio/tfmxplay/patches/patch-ad4
-rw-r--r--audio/tremor/distinfo3
-rw-r--r--audio/tremor/patches/patch-misc.h22
4 files changed, 28 insertions, 5 deletions
diff --git a/audio/tfmxplay/distinfo b/audio/tfmxplay/distinfo
index 9464b8a0bf9..26e70f7afe0 100644
--- a/audio/tfmxplay/distinfo
+++ b/audio/tfmxplay/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2011/09/12 06:42:12 dholland Exp $
+$NetBSD: distinfo,v 1.11 2012/01/11 20:49:05 hans Exp $
SHA1 (tfmxplay-0.6.tgz) = 8028a03d4198da0733fa297e9e6ada864f0c782a
RMD160 (tfmxplay-0.6.tgz) = 52c31309588b4a8073bf0987f0237ca9d6274b35
@@ -6,5 +6,5 @@ Size (tfmxplay-0.6.tgz) = 24271 bytes
SHA1 (patch-aa) = 38bf1771c8773e7e12dbd1a563fa30ec9ae43c0f
SHA1 (patch-ab) = 298f7e457456911c3ea29e293adf5f6b70ac924d
SHA1 (patch-ac) = 370de23a0138bd786bff325b2f89b34dc3c9c775
-SHA1 (patch-ad) = 159c2810806edccbbc415ac230a2f9adeeba0622
+SHA1 (patch-ad) = 10ec915050531ac7de326d48f18c952ea40b6f24
SHA1 (patch-player_h) = 059b0ee0735bb36e242dc3825643660f0cc3c9b2
diff --git a/audio/tfmxplay/patches/patch-ad b/audio/tfmxplay/patches/patch-ad
index 1dde0072d9b..a9a44e2aa6f 100644
--- a/audio/tfmxplay/patches/patch-ad
+++ b/audio/tfmxplay/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.2 2011/09/04 21:04:57 dholland Exp $
+$NetBSD: patch-ad,v 1.3 2012/01/11 20:49:05 hans Exp $
- Support more OSes
- use valid C
@@ -12,7 +12,7 @@ $NetBSD: patch-ad,v 1.2 2011/09/04 21:04:57 dholland Exp $
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <soundcard.h>
-+#elif defined(__FreeBSD__) || defined(__DragonFly__)
++#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__sun)
+#include <sys/soundcard.h>
#else
#include <linux/soundcard.h>
diff --git a/audio/tremor/distinfo b/audio/tremor/distinfo
index 9a75f11e648..617f3121170 100644
--- a/audio/tremor/distinfo
+++ b/audio/tremor/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 20:39:52 agc Exp $
+$NetBSD: distinfo,v 1.6 2012/01/11 20:58:09 hans Exp $
SHA1 (tremor_snapshot_030406.tgz) = f0df8d70e2aad9a345716b551ead826434134f39
RMD160 (tremor_snapshot_030406.tgz) = 34eebdf9a74f729ae0319c9e8d8b707642f5d002
Size (tremor_snapshot_030406.tgz) = 151981 bytes
+SHA1 (patch-misc.h) = ebe129d13d711d238b7f1e7c52e55804b040fa86
diff --git a/audio/tremor/patches/patch-misc.h b/audio/tremor/patches/patch-misc.h
new file mode 100644
index 00000000000..87b1b42c90e
--- /dev/null
+++ b/audio/tremor/patches/patch-misc.h
@@ -0,0 +1,22 @@
+$NetBSD: patch-misc.h,v 1.1 2012/01/11 20:58:09 hans Exp $
+
+--- misc.h.orig 2003-03-31 01:40:56.000000000 +0200
++++ misc.h 2012-01-02 18:16:15.405713912 +0100
+@@ -30,6 +30,17 @@
+
+ #include <sys/types.h>
+
++#ifdef __sun
++#include <sys/byteorder.h>
++#define LITTLE_ENDIAN 1234
++#define BIG_ENDIAN 4321
++#ifdef _LITTLE_ENDIAN
++#define BYTE_ORDER LITTLE_ENDIAN
++#else
++#define BYTE_ORDER BIG_ENDIAN
++#endif
++#endif
++
+ #if BYTE_ORDER==LITTLE_ENDIAN
+ union magic {
+ struct {