pkgsrc/x11/xview-lib/patches/patch-ar
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

23 lines
463 B
Text

$NetBSD: patch-ar,v 1.2 2001/12/20 09:19:56 tron Exp $
--- lib/libxview/sel/seln_impl.h.orig Tue Jun 29 07:15:25 1993
+++ lib/libxview/sel/seln_impl.h Thu Dec 20 10:09:17 2001
@@ -9,12 +9,17 @@
* file for terms of the license.
*/
+#ifdef NULL
+#undef NULL
+#endif
#include <errno.h>
#ifndef FILE
#ifndef SVR4
-#undef NULL
#endif SVR4
#include <stdio.h>
+#ifndef NULL
+#define NULL 0
+#endif
#endif FILE
#include <sys/time.h>
#include <sys/types.h>