pkgsrc/x11/xview-lib/patches/patch-bg
abs c9c8f97e88 - Add PKG_DESTDIR_SUPPORT
- Depend on the latest version of xview-config
- Mark as LICENSE sun-openlook-license
- Bump pkgrevision
2009-12-10 20:35:56 +00:00

22 lines
502 B
Text

$NetBSD: patch-bg,v 1.2 2009/12/10 20:35:57 abs Exp $
--- lib/libxview/frame/frame_cmd.h.orig 1993-06-29 05:16:14.000000000 +0000
+++ lib/libxview/frame/frame_cmd.h
@@ -17,11 +17,16 @@ static char sccsid[] = "@(#)frame_cm
#define _frame_cmd_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>