diff options
author | scw <scw@pkgsrc.org> | 2000-03-04 16:59:12 +0000 |
---|---|---|
committer | scw <scw@pkgsrc.org> | 2000-03-04 16:59:12 +0000 |
commit | 5ca38bd2013df8caf76c21c64b77233669e96153 (patch) | |
tree | 85c35b6ee056b17247e7f47f2a9319e9e9d83c03 /sysutils | |
parent | c7b6bfd7bdedcfe5ddc15b3b82a4e5247360ea36 (diff) | |
download | pkgsrc-5ca38bd2013df8caf76c21c64b77233669e96153.tar.gz |
Correctly figure out endianness on PowerPC platform.
This addresses PR/9506 by SUNAGAWA Keiki.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cdrecord/files/patch-sum | 3 | ||||
-rw-r--r-- | sysutils/cdrecord/patches/patch-aa | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/cdrecord/files/patch-sum b/sysutils/cdrecord/files/patch-sum index 802118cf370..9cb1db37b0c 100644 --- a/sysutils/cdrecord/files/patch-sum +++ b/sysutils/cdrecord/files/patch-sum @@ -1,4 +1,5 @@ -$NetBSD: patch-sum,v 1.3 2000/03/03 15:22:19 scw Exp $ +$NetBSD: patch-sum,v 1.4 2000/03/04 16:59:12 scw Exp $ +MD5 (patch-aa) = 7490f9d7cc82b64927a630b8fb6683ca MD5 (patch-ab) = 39b1982d628e4b004c9d0e5901c156b3 MD5 (patch-ae) = 5d9bcff9749c4c9378ea949d69bf4b02 diff --git a/sysutils/cdrecord/patches/patch-aa b/sysutils/cdrecord/patches/patch-aa new file mode 100644 index 00000000000..33f26c2cf06 --- /dev/null +++ b/sysutils/cdrecord/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.4 2000/03/04 16:59:13 scw Exp $ + +--- include/btorder.h.orig Wed Jan 5 17:42:40 2000 ++++ include/btorder.h Sat Mar 4 16:28:55 2000 +@@ -25,6 +25,7 @@ + #define _BTORDER_H + + #include <sys/types.h> /* try to load isa_defs.h on Solaris */ ++#include <sys/endian.h> + + #ifndef _MCONFIG_H + #include <mconfig.h> +@@ -74,7 +75,7 @@ + # if defined(__ppc__) || defined(ppc) || defined(__ppc) || \ + defined(__PPC) || defined(powerpc) || defined(__powerpc__) + +-# if defined(__BIG_ENDIAN__) ++# if defined(__BIG_ENDIAN__) || BYTE_ORDER == BIG_ENDIAN + # define _BIT_FIELDS_HTOL + # else + # define _BIT_FIELDS_LTOH |