summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-bf
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xview-lib/patches/patch-bf')
-rw-r--r--x11/xview-lib/patches/patch-bf22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/xview-lib/patches/patch-bf b/x11/xview-lib/patches/patch-bf
new file mode 100644
index 00000000000..8541441fb03
--- /dev/null
+++ b/x11/xview-lib/patches/patch-bf
@@ -0,0 +1,22 @@
+$NetBSD: patch-bf,v 1.1 2001/12/20 09:19:57 tron Exp $
+
+--- lib/libxview/frame/frame_base.h.orig Tue Jun 29 07:16:14 1993
++++ lib/libxview/frame/frame_base.h Thu Dec 20 10:09:16 2001
+@@ -17,11 +17,16 @@
+ #define _frame_base_h_already_included
+
+ /* standard includes */
++#ifdef NULL
++#undef NULL
++#endif
+ #ifndef FILE
+ #ifndef SVR4
+-#undef NULL
+ #endif SVR4
+ #include <stdio.h>
++#ifndef NULL
++#define NULL 0
++#endif
+ #endif FILE
+ #include <sys/time.h>
+ #include <xview/notify.h>