summaryrefslogtreecommitdiff
path: root/misc/libcdio
diff options
context:
space:
mode:
authordrochner <drochner>2012-08-13 17:24:38 +0000
committerdrochner <drochner>2012-08-13 17:24:38 +0000
commitcac75b147e7d026b01664a972231658488aefadc (patch)
tree1a0cf1eb306b462a3f4490a90e7effb2ad3d3de3 /misc/libcdio
parenta8311541f0113d20addecafbeca4fba464f22615 (diff)
downloadpkgsrc-cac75b147e7d026b01664a972231658488aefadc.tar.gz
oops, this needs one more patch
Diffstat (limited to 'misc/libcdio')
-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)