diff options
author | hans <hans> | 2012-01-11 20:49:05 +0000 |
---|---|---|
committer | hans <hans> | 2012-01-11 20:49:05 +0000 |
commit | c6fe3460ad0a290b3b0ab157b57d13ae3717078a (patch) | |
tree | 3955e81c714e6aa5463a7b4708a5a1f80ead47c6 /audio/tremor | |
parent | 4dcb1f1a3c1fc3b323ce37cf7d4959ae90ef7550 (diff) | |
download | pkgsrc-c6fe3460ad0a290b3b0ab157b57d13ae3717078a.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'audio/tremor')
-rw-r--r-- | audio/tremor/distinfo | 3 | ||||
-rw-r--r-- | audio/tremor/patches/patch-misc.h | 22 |
2 files changed, 24 insertions, 1 deletions
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 { |