freebsd-ports/devel/flick/files/patch-ab
Kirill Ponomarev 9c461e9fdd - Fix build on -current
o Remove extra token pasting operators after ::'s.
  o Add missing ; in yacc files.

PR:		56187
Submitted by:	Michael Edenfield <kutulu@kutulu.org>
2003-08-30 17:37:21 +00:00

15 lines
815 B
Text

--- c/pfe/lib/pg_state.cc.orig Fri Aug 29 19:32:31 2003
+++ c/pfe/lib/pg_state.cc Fri Aug 29 19:32:54 2003
@@ -53,9 +53,9 @@
* Initialize the strings that are used to construct names. Most
* presentation generators will override at least some of these values.
*/
-#define NAME_FORMAT(type) names.formats[name_strings::##type##_fmt]
-#define NAME_LITERAL_STR(type) names.literals[name_strings::##type##_lit].str
-#define NAME_LITERAL_LEN(type) names.literals[name_strings::##type##_lit].len
+#define NAME_FORMAT(type) names.formats[name_strings::type##_fmt]
+#define NAME_LITERAL_STR(type) names.literals[name_strings::type##_lit].str
+#define NAME_LITERAL_LEN(type) names.literals[name_strings::type##_lit].len
/* The `null' format should never ever be used. */
NAME_FORMAT(null) = "";