ba9b350189
Changes: * Thu Feb 02 2006 - Release of a GPL compliant 2.01.01a05-ossdvd patch. This patch is for cdrtools-2.01.01a05.tar.bz2 and is adjusted to work with linux kernel 2.6.12 or higher and can be compiled with gcc-4.0.x. The rawio patch using libcap has been migrated to cdrtools-2.01.01a05-rawio.patch.bz2 . The patch called cdrtools-2.01.01-scsibuf.patch.bz has become redundant, as this has been integrated inside cdrtools-2.01.01a05.tar.bz2 . RPMS and SRPMS have been updated for mandriva 2006.0. The order of applying patches is now : 1. cdrtools-2.01.01a05-ossdvd.patch.bz2 .ossdvd 2. cdrtools-2.01.01a01-DVD-speed.patch.bz2 .dvd-speed 3. cdrtools-2.01.01a05-rawio.patch.bz2 .rawio 4. cdrtools-2.01.01a01-scanbus.patch.bz2 .scanbus Warly's Cdrecord DVD patch and others can now be found on http://people.mandriva.com/~warly/files/cdrtools/
23 lines
748 B
Text
23 lines
748 B
Text
$NetBSD: patch-ac,v 1.2 2006/02/04 12:05:17 wiz Exp $
|
|
|
|
--- include/btorder.h.orig 2003-06-15 21:41:22.000000000 +0000
|
|
+++ include/btorder.h
|
|
@@ -27,6 +27,9 @@
|
|
#include <sys/types.h> /* try to load isa_defs.h on Solaris */
|
|
#define _INCL_SYS_TYPES_H
|
|
#endif
|
|
+#ifdef __NetBSD__
|
|
+#include <machine/endian.h>
|
|
+#endif
|
|
|
|
#ifndef _MCONFIG_H
|
|
#include <mconfig.h> /* load bit/byte-oder from xmconfig.h*/
|
|
@@ -107,7 +110,7 @@ error Only one of _BIT_FIELDS_LTOH or _
|
|
# 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
|