pkgsrc/x11/xview-lib/patches/patch-ag
tron 71146f333e Cleanup patch files:
- unified format
- only one patch per file
- no files gets patched twice
2001-12-20 09:19:53 +00:00

22 lines
509 B
Text

$NetBSD: patch-ag,v 1.3 2001/12/20 09:19:55 tron Exp $
--- lib/libxview/base/xv_debug.h.orig Tue Jun 29 07:14:44 1993
+++ lib/libxview/base/xv_debug.h Thu Dec 20 10:09:16 2001
@@ -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 */
/*