summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorscw <scw>2000-03-04 17:04:40 +0000
committerscw <scw>2000-03-04 17:04:40 +0000
commit981ae8b797bbce5ecfce373e38dfe5816a7c9e80 (patch)
tree702be7b2f592f3adf5617a405da33f9fe290fc59 /sysutils
parent327a8491653b9216b1d49974443f0ab19e366726 (diff)
downloadpkgsrc-981ae8b797bbce5ecfce373e38dfe5816a7c9e80.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-sum3
-rw-r--r--sysutils/cdrecord-current/patches/patch-ac21
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