summaryrefslogtreecommitdiff
path: root/sysutils/cdrecord-xcdroast/patches/patch-ac
diff options
context:
space:
mode:
authordrochner <drochner>2002-12-02 18:41:20 +0000
committerdrochner <drochner>2002-12-02 18:41:20 +0000
commit341c5d4fe3f0d243add6b30bb577c6e39a155422 (patch)
treefa44e45757706f8dc6ade84397a6998c22d0b717 /sysutils/cdrecord-xcdroast/patches/patch-ac
parent63051f192483f375f892fe7a44bc2878bea24e87 (diff)
downloadpkgsrc-341c5d4fe3f0d243add6b30bb577c6e39a155422.tar.gz
Provide a cdrecord (aka cdrtools) pkg exclusively for use by xcdroast.
xcdroast is quite picky about cdrecord versions, so we are decoupled. (for the upcoming xcdroast-0.98alpha11 pkg)
Diffstat (limited to 'sysutils/cdrecord-xcdroast/patches/patch-ac')
-rw-r--r--sysutils/cdrecord-xcdroast/patches/patch-ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/cdrecord-xcdroast/patches/patch-ac b/sysutils/cdrecord-xcdroast/patches/patch-ac
new file mode 100644
index 00000000000..5d93e493d8f
--- /dev/null
+++ b/sysutils/cdrecord-xcdroast/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/12/02 18:41:20 drochner Exp $
+
+--- include/btorder.h.orig Mon Dec 10 10:54:27 2001
++++ include/btorder.h
+@@ -28,6 +28,7 @@
+ #include <sys/types.h> /* try to load isa_defs.h on Solaris */
+ #define _INCL_SYS_TYPES_H
+ #endif
++#include <machine/endian.h>
+
+ #ifndef _MCONFIG_H
+ #include <mconfig.h> /* load bit/byte-oder from xmconfig.h*/
+@@ -108,7 +109,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