summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-08-13 17:24:38 +0000
committerdrochner <drochner@pkgsrc.org>2012-08-13 17:24:38 +0000
commitc11f3e9c342045b6fc1585d35b43ab86bbd00262 (patch)
tree1a0cf1eb306b462a3f4490a90e7effb2ad3d3de3 /misc
parent315fc01ecf52d6442a4ea5d3b493087e306ba785 (diff)
downloadpkgsrc-c11f3e9c342045b6fc1585d35b43ab86bbd00262.tar.gz
oops, this needs one more patch
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)