diff options
author | joerg <joerg@pkgsrc.org> | 2007-02-02 15:58:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-02-02 15:58:58 +0000 |
commit | 38a8af5d162aa655c27174ffc0346f1076098119 (patch) | |
tree | 189ea9838a5ec8c8e6dee04e6915fd86671561ce /audio/rioutil | |
parent | fe75f71d57364ff2e88b11ca0f5ec81dbea3a18a (diff) | |
download | pkgsrc-38a8af5d162aa655c27174ffc0346f1076098119.tar.gz |
Include sys/endian.h on NetBSD as well as it allows to use the same
handling for DragonFly and NetBSD. Kill the redundant second chunk.
Diffstat (limited to 'audio/rioutil')
-rw-r--r-- | audio/rioutil/distinfo | 4 | ||||
-rw-r--r-- | audio/rioutil/patches/patch-ae | 17 |
2 files changed, 6 insertions, 15 deletions
diff --git a/audio/rioutil/distinfo b/audio/rioutil/distinfo index e1d8bfbd05c..3f7eede1e2c 100644 --- a/audio/rioutil/distinfo +++ b/audio/rioutil/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2007/01/06 04:21:24 schmonz Exp $ +$NetBSD: distinfo,v 1.11 2007/02/02 15:58:58 joerg Exp $ SHA1 (rioutil-1.5.0.tar.gz) = f775bab0ed7ec456dd5d2826083ca8a5075aa4ec RMD160 (rioutil-1.5.0.tar.gz) = 2f1db9eb36501aecdb388278d5f7c1876bfebf19 @@ -6,4 +6,4 @@ Size (rioutil-1.5.0.tar.gz) = 401244 bytes SHA1 (patch-aa) = 4783194bc911fc9c9b1ebd9f03a92180cd7a8f77 SHA1 (patch-ab) = d5a206224a24bf9dfd651c003b621dc5cea90a58 SHA1 (patch-ac) = 2ea2f01308a3d3e92fc0fb1b652c1df50dddef01 -SHA1 (patch-ae) = 0a0204111364b7da4c64364130062bc004dc804c +SHA1 (patch-ae) = d5428a2e3e5edfe367e5afaecf944830f7187342 diff --git a/audio/rioutil/patches/patch-ae b/audio/rioutil/patches/patch-ae index 3f9a1a410ba..674102213fc 100644 --- a/audio/rioutil/patches/patch-ae +++ b/audio/rioutil/patches/patch-ae @@ -1,23 +1,14 @@ -$NetBSD: patch-ae,v 1.2 2007/01/06 04:21:24 schmonz Exp $ +$NetBSD: patch-ae,v 1.3 2007/02/02 15:58:58 joerg Exp $ ---- include/rioi.h.orig 2006-08-04 18:40:49.000000000 -0400 +--- include/rioi.h.orig 2006-08-04 22:40:49.000000000 +0000 +++ include/rioi.h -@@ -190,7 +190,7 @@ Group ID 0x7c ???? +@@ -190,7 +190,8 @@ Group ID 0x7c ???? #define bswap_32(x) NXSwapLong(x) #define bswap_16(x) NXSwapShort(x) -#elif defined (__NetBSD__) +#elif defined (__NetBSD__) || defined(__DragonFly__) ++#include <sys/endian.h> #define bswap_64(x) bswap64(x) #define bswap_32(x) bswap32(x) -@@ -203,6 +203,9 @@ Group ID 0x7c ???? - #define bswap_32(x) ((x >> 24) | (x & 0x00ff0000) >> 8 | (x & 0x0000ff00) << 8 | (x & 0x000000ff) << 24) - #define bswap_16(x) ((x >> 8) | (x & 0x00ff) << 8) - -+#elif defined(__DragonFly__) -+#include <sys/endian.h> -+ - #else - - #include <sys/endian.h> |