diff options
author | tv <tv@pkgsrc.org> | 2005-03-10 14:21:44 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-03-10 14:21:44 +0000 |
commit | 048017e043c55b9c05e21312f06198c73c9d856d (patch) | |
tree | a0e73a1445252d296bf97137bef77c52dbd9d5ff /multimedia/libdvdread | |
parent | eb29c48b57e909b56f641dcb2cf2af9b0e27e0cc (diff) | |
download | pkgsrc-048017e043c55b9c05e21312f06198c73c9d856d.tar.gz |
Add bswap conditional for Interix.
Diffstat (limited to 'multimedia/libdvdread')
-rw-r--r-- | multimedia/libdvdread/distinfo | 4 | ||||
-rw-r--r-- | multimedia/libdvdread/patches/patch-aa | 15 |
2 files changed, 14 insertions, 5 deletions
diff --git a/multimedia/libdvdread/distinfo b/multimedia/libdvdread/distinfo index a52188aac5b..45d0cff17b7 100644 --- a/multimedia/libdvdread/distinfo +++ b/multimedia/libdvdread/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.4 2005/02/24 11:24:03 agc Exp $ +$NetBSD: distinfo,v 1.5 2005/03/10 14:21:44 tv Exp $ SHA1 (libdvdread-0.9.4.tar.gz) = a4b626e49ba8bd33857693c3abe8b34196bc3360 RMD160 (libdvdread-0.9.4.tar.gz) = 9f7f82e14fb5d458686e5cb2e5f364bad19dd08e Size (libdvdread-0.9.4.tar.gz) = 256858 bytes -SHA1 (patch-aa) = 9e508363db5fe7233d6074fdc2404e4618e78ff2 +SHA1 (patch-aa) = d97d18c6e1ad445ed7d8e1cdb990ca58ed2d3ef9 SHA1 (patch-ab) = a86a639adf22fe17c98db059e3fa542d0424d468 SHA1 (patch-ac) = 971dc8802bf8f815821e8ad5f279a5148fcf26f7 diff --git a/multimedia/libdvdread/patches/patch-aa b/multimedia/libdvdread/patches/patch-aa index cd2bde9b952..7ed5920ba18 100644 --- a/multimedia/libdvdread/patches/patch-aa +++ b/multimedia/libdvdread/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.1.1.1 2004/01/28 14:29:01 recht Exp $ +$NetBSD: patch-aa,v 1.2 2005/03/10 14:21:45 tv Exp $ ---- dvdread/bswap.h.orig Wed Mar 5 23:13:17 2003 -+++ dvdread/bswap.h Wed Mar 5 23:14:24 2003 +--- dvdread/bswap.h.orig 2002-12-14 19:09:12.000000000 -0500 ++++ dvdread/bswap.h @@ -57,7 +57,15 @@ #include <sys/endian.h> #define B2N_16(x) x = be16toh(x) @@ -19,3 +19,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/01/28 14:29:01 recht Exp $ /* This is a slow but portable implementation, it has multiple evaluation * problems so beware. +@@ -65,7 +73,7 @@ + * functionality! + */ + +-#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) ++#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(__INTERIX) + #define B2N_16(x) \ + x = ((((x) & 0xff00) >> 8) | \ + (((x) & 0x00ff) << 8)) |