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 Sun Apr  6 00:00:00 1997
+++ source/paths.h      Fri 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

-- 
Lukas Ertl                             eMail: [EMAIL PROTECTED]
UNIX-Systemadministrator               Tel.:  (+43 1) 4277-14073
Zentraler Informatikdienst (ZID)       Fax.:  (+43 1) 4277-9140
der Universität Wien                   http://mailbox.univie.ac.at/~le/
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to