Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2003 19:31:23 +0200 (CEST)
From:      Lukas Ertl <l.ertl@univie.ac.at>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@freebsd.org
Subject:   fix print/gv (was: Re: Fixing gcc 3.3 compile failures)
Message-ID:  <20030718192736.S609@korben.in.tern>
In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org>
References:  <20030718025200.GA36893@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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) <XMU_DIRECTORY/aaa>
 #   define INC_XAW(aaa) <XAW_DIRECTORY/aaa>
 #else
-#   define INC_X11(aaa) <X11/##aaa##>
-#   define INC_XMU(aaa) <X11/Xmu/##aaa##>
-#   define INC_XAW(aaa) <X11/Xaw3d/##aaa##>
+#   define INC_X11(aaa) <X11/aaa>
+#   define INC_XMU(aaa) <X11/Xmu/aaa>
+#   define INC_XAW(aaa) <X11/Xaw3d/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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030718192736.S609>