From 84e70a77043334578f31ed1a9a92ac097a2a5246 Mon Sep 17 00:00:00 2001 From: Ruben Schuller Date: Sun, 27 Oct 2013 00:27:57 -0500 Subject: network/netsurf: Updated for version 3.0. Signed-off-by: Robby Workman --- network/netsurf/webidl-lexer.l.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 network/netsurf/webidl-lexer.l.patch (limited to 'network/netsurf/webidl-lexer.l.patch') diff --git a/network/netsurf/webidl-lexer.l.patch b/network/netsurf/webidl-lexer.l.patch new file mode 100644 index 0000000000..183664593e --- /dev/null +++ b/network/netsurf/webidl-lexer.l.patch @@ -0,0 +1,17 @@ +index 5369d99..74b9bb8 100644 +--- a/src/webidl-lexer.l ++++ b/src/webidl-lexer.l +@@ -27,6 +27,15 @@ + yylloc->first_column = yylloc->last_column + 1; \ + yylloc->last_column += yyleng; + ++/* Ensure compatability with bison 2.6 and later */ ++#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED && defined WEBIDL_STYPE_IS_DECLARED ++#define YYSTYPE WEBIDL_STYPE ++#endif ++ ++#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED && defined WEBIDL_LTYPE_IS_DECLARED ++#define YYLTYPE WEBIDL_LTYPE ++#endif ++ + %} -- cgit v1.2.3-80-g2a13