pkgsrc/x11/xview-lib/patches/patch-ag
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
494 B
Text

$NetBSD: patch-ag,v 1.4 2009/12/10 20:35:56 abs Exp $
--- lib/libxview/base/xv_debug.h.orig 1993-06-29 05:14:44.000000000 +0000
+++ lib/libxview/base/xv_debug.h
@@ -9,11 +9,16 @@
#ifndef _xv_debug_h_already_included
#define _xv_debug_h_already_included
+#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 <xview/pkg.h> /* needed to get definition of Xv_private */
/*