diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-10-15 19:06:58 +0800 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-10-15 19:06:58 +0800 |
commit | 54c3b47cf318bd5419fb32bc548f608af8b43e0e (patch) | |
tree | cf9c5524e123dd155707b7ff30985fe8aa4f7eab /devel | |
parent | 5402425d029ac21356af4ddd576a65aa43408cb6 (diff) | |
download | freebsd-ports-gnome-54c3b47cf318bd5419fb32bc548f608af8b43e0e.tar.gz freebsd-ports-gnome-54c3b47cf318bd5419fb32bc548f608af8b43e0e.tar.zst freebsd-ports-gnome-54c3b47cf318bd5419fb32bc548f608af8b43e0e.zip |
Unbreak on ${OSVERSION} >= 502126.
Approved by: edwin
Diffstat (limited to 'devel')
-rw-r--r-- | devel/spirit/Makefile | 4 | ||||
-rw-r--r-- | devel/spirit/files/patch-libs::spirit::example::application::slex::lexer.hpp | 20 |
2 files changed, 20 insertions, 4 deletions
diff --git a/devel/spirit/Makefile b/devel/spirit/Makefile index af9a3c7a508a..b4919de1626b 100644 --- a/devel/spirit/Makefile +++ b/devel/spirit/Makefile @@ -29,10 +29,6 @@ CONFIGURE_ARGS= --enable-spirit-threadsafe .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - .if ${ARCH} == "amd64" IGNORE= does not build: cc1plus hangs forever (gcc bug) .elif ${ARCH} != "i386" && ${ARCH} != "alpha" diff --git a/devel/spirit/files/patch-libs::spirit::example::application::slex::lexer.hpp b/devel/spirit/files/patch-libs::spirit::example::application::slex::lexer.hpp new file mode 100644 index 000000000000..c730680a694c --- /dev/null +++ b/devel/spirit/files/patch-libs::spirit::example::application::slex::lexer.hpp @@ -0,0 +1,20 @@ +--- libs/spirit/example/application/slex/lexer.hpp.orig Fri Oct 15 11:57:49 2004 ++++ libs/spirit/example/application/slex/lexer.hpp Fri Oct 15 11:58:01 2004 +@@ -2108,7 +2108,7 @@ + s = dfa.transition_table[s][(uchar)*p]; + if (s == invalid_node) + break; +- if (token) token->append((string_t::size_type)1, *p); ++ if (token) token->append((typename string_t::size_type)1, *p); + ++p; + if (dfa.acceptance_index[s] != invalid_node) + { +@@ -2163,7 +2163,7 @@ + goto break_while; + } + } +- if (token) token->append((string_t::size_type)1, *wp); ++ if (token) token->append((typename string_t::size_type)1, *wp); + ++wp; + if (dfa.acceptance_index[s] != invalid_node) + { |