diff options
author | tron <tron@pkgsrc.org> | 1999-04-20 18:39:34 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-04-20 18:39:34 +0000 |
commit | f5a5666862238472a08c264baf8030a46a0ba976 (patch) | |
tree | f6e2923fa2454d82699258a2f9f77b00989016b5 | |
parent | 4642252f4b0126dba6af6e344be20919032e3ef0 (diff) | |
download | pkgsrc-f5a5666862238472a08c264baf8030a46a0ba976.tar.gz |
Define deprecated "unix" symbol.
-rw-r--r-- | net/vnc/patches/patch-aa | 35 | ||||
-rw-r--r-- | net/vnc/patches/patch-ad | 16 |
2 files changed, 35 insertions, 16 deletions
diff --git a/net/vnc/patches/patch-aa b/net/vnc/patches/patch-aa index c0edc20003a..f26e63956ec 100644 --- a/net/vnc/patches/patch-aa +++ b/net/vnc/patches/patch-aa @@ -1,17 +1,20 @@ -$NetBSD: patch-aa,v 1.3 1998/08/07 11:11:03 agc Exp $ +$NetBSD: patch-aa,v 1.4 1999/04/20 18:39:34 tron Exp $ -*** Xvnc/config/cf/NetBSD.cf.orig Tue Jul 28 14:19:10 1998 ---- Xvnc/config/cf/NetBSD.cf Tue Jul 28 12:45:19 1998 -*************** -*** 373,377 **** - * Definition for compiling on Alpha machines - */ - #ifdef AlphaArchitecture -! #define BuildServer NO - #endif ---- 373,377 ---- - * Definition for compiling on Alpha machines - */ - #ifdef AlphaArchitecture -! #define BuildServer YES - #endif +--- Xvnc/config/cf/NetBSD.cf.orig Sat Jul 26 08:30:39 1997 ++++ Xvnc/config/cf/NetBSD.cf Tue Apr 20 20:20:09 1999 +@@ -88,7 +88,7 @@ + #define MkdirHierCmd mkdir -p + + #define CppCmd /usr/libexec/cpp +-#define StandardCppDefines -traditional ++#define StandardCppDefines -traditional -Dunix + #define PreProcessCmd CppCmd + #define PreIncDir /usr/include + +@@ -373,5 +373,5 @@ + * Definition for compiling on Alpha machines + */ + #ifdef AlphaArchitecture +-#define BuildServer NO ++#define BuildServer YES + #endif 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 */ |