From owner-freebsd-ports@FreeBSD.ORG Fri Jul 18 10:31:50 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA01237B401; Fri, 18 Jul 2003 10:31:49 -0700 (PDT) Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA0E543F93; Fri, 18 Jul 2003 10:31:48 -0700 (PDT) (envelope-from l.ertl@univie.ac.at) Received: from wireless (adslle.cc.univie.ac.at [131.130.102.11]) by mailbox.univie.ac.at (8.12.2/8.12.2) with ESMTP id h6IHVYoa151600; Fri, 18 Jul 2003 19:31:40 +0200 Date: Fri, 18 Jul 2003 19:31:23 +0200 (CEST) From: Lukas Ertl To: Kris Kennaway In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org> Message-ID: <20030718192736.S609@korben.in.tern> References: <20030718025200.GA36893@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-DCC-ZID-Univie-Metrics: mx1 4251; Body=0 Fuz1=0 Fuz2=0 cc: ports@freebsd.org cc: current@freebsd.org Subject: fix print/gv (was: Re: Fixing gcc 3.3 compile failures) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 17:31:50 -0000 On Thu, 17 Jul 2003, Kris Kennaway wrote: > Most of the new compile failures are caused by 3 or 4 types of failure > mode (all of which have to do with stricter standards compliance in > the new compiler suite). I haven't yet looked at how to fix most of > them: if you figure out a patch for a class of failures, please post > it in response to this email so we can all see how to do it. http://bento.freebsd.org/errorlogs/i386-5-latest/gv-3.5.8_3.log In file included from Aaa.c:49: Aaa_intern.h:44:27: pasting "/" and "Xlib" does not give a valid preprocessing token Aaa_intern.h:44:27: pasting "h" and ">" does not give a valid preprocessing token Aaa_intern.h:45:32: pasting "/" and "Xresource" does not give a valid preprocessing token Aaa_intern.h:45:32: pasting "h" and ">" does not give a valid preprocessing token etc. etc. Put this patch as patch-source::paths.h into ports/print/gv/files: ---8<--- --- source/paths.h.orig=09Sun Apr 6 00:00:00 1997 +++ source/paths.h=09Fri Jul 18 19:18:09 2003 @@ -34,9 +34,9 @@ # define INC_XMU(aaa) # define INC_XAW(aaa) #else -# define INC_X11(aaa) -# define INC_XMU(aaa) -# define INC_XAW(aaa) +# define INC_X11(aaa) +# define INC_XMU(aaa) +# define INC_XAW(aaa) #endif #endif /* _PATHS_H_ */ ---8<--- regards, le --=20 Lukas Ertl eMail: l.ertl@univie.ac.at UNIX-Systemadministrator Tel.: (+43 1) 4277-14073 Zentraler Informatikdienst (ZID) Fax.: (+43 1) 4277-9140 der Universit=E4t Wien http://mailbox.univie.ac.at/~le/