diff options
author | scw <scw> | 2000-03-04 17:04:40 +0000 |
---|---|---|
committer | scw <scw> | 2000-03-04 17:04:40 +0000 |
commit | 115f29f1a8d1651192592872cf051d7f5c9e3b05 (patch) | |
tree | 702be7b2f592f3adf5617a405da33f9fe290fc59 /sysutils | |
parent | 78756d951ff8048f4689364df26f5c777debeddd (diff) | |
download | pkgsrc-115f29f1a8d1651192592872cf051d7f5c9e3b05.tar.gz |
aCorrectly figure out endiannes on PowerPC platform.
This addresses PR/9506 by SUNAGAWA Keiki.
(Is the cdrecord-current package still needed?)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cdrecord-current/files/patch-sum | 3 | ||||
-rw-r--r-- | sysutils/cdrecord-current/patches/patch-ac | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/cdrecord-current/files/patch-sum b/sysutils/cdrecord-current/files/patch-sum index 38cf9af9d6f..c200d83e8ec 100644 --- a/sysutils/cdrecord-current/files/patch-sum +++ b/sysutils/cdrecord-current/files/patch-sum @@ -1,5 +1,6 @@ -$NetBSD: patch-sum,v 1.7 2000/03/04 10:10:10 tron Exp $ +$NetBSD: patch-sum,v 1.8 2000/03/04 17:04:40 scw Exp $ MD5 (patch-aa) = ce1e36780a6289a44496d355e35da71c MD5 (patch-ab) = 3a20ed15fd69037fc67d9d7172125c23 +MD5 (patch-ac) = 7490f9d7cc82b64927a630b8fb6683ca MD5 (patch-ae) = 4c3938baa5a03adc55193361aa43c697 diff --git a/sysutils/cdrecord-current/patches/patch-ac b/sysutils/cdrecord-current/patches/patch-ac new file mode 100644 index 00000000000..fb83dad2c21 --- /dev/null +++ b/sysutils/cdrecord-current/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.3 2000/03/04 17:04:40 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 |