freebsd-ports/security/ike/files/patch-source_iked_conf.parse.yy
Johan van Selst ec2d095bd0 - Update bison to 2.4.1, see announcements for important changes:
http://lists.gnu.org/archive/html/bug-bison/2008-11/msg00000.html
  http://lists.gnu.org/archive/html/bug-bison/2008-12/msg00000.html
- Take over bison maintainership - as approved by portmgr (marcus)
- Add patches for ports to compile with new bison:
  Replace %{ .. %} with %code { .. } where required
  and accommodate stricter typing requirements
Thanks to pav for an exp-run on pointyhat

PR:		ports/131640
Approved by:	portmgr (pav)
2009-03-06 12:04:11 +00:00

20 lines
368 B
Text

--- source/iked/conf.parse.yy.orig 2008-06-10 04:24:20.000000000 +0200
+++ source/iked/conf.parse.yy 2009-03-06 11:40:56.000000000 +0100
@@ -43,7 +43,7 @@
%defines
%define "parser_class_name" "conf_parser"
-%{
+%code requires {
#include <string>
@@ -51,7 +51,7 @@
typedef class _IKED IKED;
-%}
+}
// The parsing context.
%parse-param { IKED & iked }