summaryrefslogtreecommitdiff
path: root/net/vnc/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'net/vnc/patches/patch-ad')
-rw-r--r--net/vnc/patches/patch-ad16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/vnc/patches/patch-ad b/net/vnc/patches/patch-ad
new file mode 100644
index 00000000000..ff07411bc23
--- /dev/null
+++ b/net/vnc/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.3 1999/04/20 18:39:34 tron Exp $
+
+--- Xvnc/config/imake/imakemdep.h.orig Sun Jul 27 04:41:05 1997
++++ Xvnc/config/imake/imakemdep.h Tue Apr 20 20:26:52 1999
+@@ -287,6 +287,11 @@
+ * that support multiple operating systems).
+ */
+
++#ifdef __NetBSD__
++#undef unix
++#define unix 42
++#endif
++
+ #define ARGUMENTS 50 /* number of arguments in various arrays */
+ char *cpp_argv[ARGUMENTS] = {
+ "cc", /* replaced by the actual program to exec */