summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/libcdio/patches/patch-ae14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/libcdio/patches/patch-ae b/misc/libcdio/patches/patch-ae
new file mode 100644
index 00000000000..833b49338fe
--- /dev/null
+++ b/misc/libcdio/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.3 2012/08/13 17:24:38 drochner Exp $
+
+--- include/cdio/types.h.orig 2011-10-20 22:38:50.000000000 +0000
++++ include/cdio/types.h
+@@ -169,9 +169,6 @@ typedef uint8_t ubyte;
+ # define GNUC_UNLIKELY(x) (x)
+ #endif
+
+-#ifndef NULL
+-# define NULL ((void*) 0)
+-#endif
+
+ /* our own offsetof()-like macro */
+ #define __cd_offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)