mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Unbreak on ${OSVERSION} >= 502126.
Approved by: edwin
This commit is contained in:
parent
f063b84dc0
commit
85d3368e78
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119494
2 changed files with 20 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
{
|
Loading…
Add table
Reference in a new issue