openbsd-ports/textproc/groff/patches/patch-src_roff_troff_input_cpp
schwarze c72e745e6b First major OpenBSD groff update since 2000.
Lots of new functionality, lots of bug fixes, and bringing in
significant maintenance efforts from upstream.
To name just one specific example, the number of arguments mdoc(7)
macros can take is no longer limited.
Two of the more tricky patches contributed by naddy@, thanks!
Tested in bulk builds by landry@.
Tested on sparc (GCC 2) by phessler@ and on alpha (GCC 3) by naddy@.
ok naddy@, landry@

Before using this to build ports, make sure you install
the src/usr.sbin/pkg_add/OpenBSD/PackingElement.pm patch
i'm going to commit right afterwards as well, or you will end up
with ports manuals containing ANSI escape sequences.
2011-03-19 16:48:53 +00:00

13 lines
546 B
Plaintext

$OpenBSD: patch-src_roff_troff_input_cpp,v 1.1 2011/03/19 16:48:53 schwarze Exp $
# Avoid a name clash over "input_iterator" and let this build on GCC 2.
--- src/roff/troff/input.cpp.orig Fri Dec 31 00:33:08 2010
+++ src/roff/troff/input.cpp Thu Mar 17 16:47:28 2011
@@ -156,6 +156,7 @@ static symbol get_delim_name();
static void init_registers();
static void trapping_blank_line();
+#define input_iterator my_input_iterator
class input_iterator;
input_iterator *make_temp_iterator(const char *);
const char *input_char_description(int);