diff options
author | mycroft <mycroft@pkgsrc.org> | 2002-02-19 00:02:28 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2002-02-19 00:02:28 +0000 |
commit | 7689f075c5341773741b8dab61d015d89ed603e0 (patch) | |
tree | ff7e0d3b20db76347accf9093b8f3db9078f5303 /net/tightvnc/patches | |
parent | 1efe8c151b211bfc5cc580c601e41161925e5a46 (diff) | |
download | pkgsrc-7689f075c5341773741b8dab61d015d89ed603e0.tar.gz |
Fix cpp problems on -current, by using USE_CC_E.
Diffstat (limited to 'net/tightvnc/patches')
-rw-r--r-- | net/tightvnc/patches/patch-ac | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/net/tightvnc/patches/patch-ac b/net/tightvnc/patches/patch-ac index cbeaf131c24..5af28c02d8c 100644 --- a/net/tightvnc/patches/patch-ac +++ b/net/tightvnc/patches/patch-ac @@ -1,16 +1,30 @@ -$NetBSD: patch-ac,v 1.1 2001/09/23 01:34:30 mycroft Exp $ +$NetBSD: patch-ac,v 1.2 2002/02/19 00:02:29 mycroft Exp $ ---- Xvnc/config/imake/imakemdep.h.orig Sun Jul 27 03:41:05 1997 -+++ Xvnc/config/imake/imakemdep.h -@@ -287,6 +287,11 @@ +--- Xvnc/config/imake/imakemdep.h.orig Sun Jun 11 12:00:51 2000 ++++ Xvnc/config/imake/imakemdep.h Tue Feb 19 00:00:15 2002 +@@ -253,9 +253,12 @@ + #ifdef _CRAY + #define DEFAULT_CPP "/lib/pcpp" + #endif +-#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) ++#if defined(__386BSD__) + #define DEFAULT_CPP "/usr/libexec/cpp" + #endif ++#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) ++#define USE_CC_E ++#endif + #if defined(__sgi) && defined(__ANSI_CPP__) + #define USE_CC_E + #endif +@@ -286,6 +289,11 @@ + * Note that you may define more than one symbol (useful for platforms * 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 */ |