summaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrdao/patches/patch-ac')
-rw-r--r--sysutils/cdrdao/patches/patch-ac37
1 files changed, 33 insertions, 4 deletions
diff --git a/sysutils/cdrdao/patches/patch-ac b/sysutils/cdrdao/patches/patch-ac
index 5880954098e..b2efa4f0c55 100644
--- a/sysutils/cdrdao/patches/patch-ac
+++ b/sysutils/cdrdao/patches/patch-ac
@@ -1,8 +1,37 @@
-$NetBSD: patch-ac,v 1.2 2001/05/19 12:47:05 drochner Exp $
+$NetBSD: patch-ac,v 1.3 2002/10/29 16:47:53 drochner Exp $
---- scsilib/include/btorder.h.orig Sun Apr 29 11:28:21 2001
-+++ scsilib/include/btorder.h Fri May 18 19:04:13 2001
-@@ -54,6 +54,15 @@
+--- ./scsilib/include/btorder.h.orig Sun Nov 25 16:35:10 2001
++++ ./scsilib/include/btorder.h Tue Oct 29 09:33:02 2002
+@@ -63,35 +63,21 @@
+ #endif
+
+
+-/*
+- * Convert byte-order definitions from xconfig.h into our values
+- * and verify them.
+- */
+-#if defined(HAVE_C_BIGENDIAN) && \
+- !defined(WORDS_BIGENDIAN)
+-#define WORDS_LITTLEENDIAN
+-#define _LITTLE_ENDIAN
+-#endif
+-
+-#if defined(HAVE_C_BIGENDIAN) && \
+- defined(WORDS_BIGENDIAN)
+-#define _BIG_ENDIAN
+-#endif
+-
+-#if defined(_LITTLE_ENDIAN) && defined(_BIG_ENDIAN)
+-/*
+- * #error will not work for all compilers (e.g. sunos4)
+- * The following line will abort compilation on all compilers
+- * if none of the above is defines. And that's what we want.
+- */
+-error Only one of _LITTLE_ENDIAN or _BIG_ENDIAN may be defined
+-#endif
+
+
+ #if defined(_BIT_FIELDS_LTOH) || defined(_BIT_FIELDS_HTOL)
/*
* Bitorder is already known.
*/