From owner-freebsd-ports Sun Nov 28 19:22: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 6710E14C23 for ; Sun, 28 Nov 1999 19:21:44 -0800 (PST) (envelope-from jedgar@fxp.org) Received: from earth.fxp (oca-c1s2-43.mfi.net [209.26.94.90]) by pawn.primelocation.net (Postfix) with ESMTP id A335F9B39; Sun, 28 Nov 1999 22:21:39 -0500 (EST) Date: Sun, 28 Nov 1999 22:21:36 -0500 (EST) From: "Chris D. Faulhaber" X-Sender: jedgar@earth.fxp To: ports@freebsd.org Cc: bmah@ca.sandia.gov Subject: vnc & gcc 2.95.2 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It appears vnc suffers the same problem that XFree did w/gcc 2.95.2. The following is a patch (patches/patch-ab as such) that corrects this. Can anyone verify this works under gcc 2.7.2.3 and/or comment? --- Xvnc/config/imake/imakemdep.h.orig Sat Jul 26 22:41:05 1997 +++ Xvnc/config/imake/imakemdep.h Sun Nov 28 22:11:34 1999 @@ -225,6 +225,9 @@ #ifdef hpux #define USE_CC_E #endif +#if defined(__FreeBSD__) +#define USE_CC_E +#endif #ifdef WIN32 #define USE_CC_E #define DEFAULT_CC "cl" @@ -253,7 +256,7 @@ #ifdef _CRAY #define DEFAULT_CPP "/lib/pcpp" #endif -#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) +#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) #define DEFAULT_CPP "/usr/libexec/cpp" #endif #if defined(__sgi) && defined(__ANSI_CPP__) ----- Chris D. Faulhaber | You can ISO9001 certify the process of System/Network Administrator, | shooting yourself in the foot, so long Reality Check Information, Inc. | as the process is documented and reliably | produces the proper result. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message