Index: head/sysutils/rsyslog7/files/patch-grammar__lexer.l =================================================================== --- head/sysutils/rsyslog7/files/patch-grammar__lexer.l (revision 369867) +++ head/sysutils/rsyslog7/files/patch-grammar__lexer.l (revision 369868) @@ -1,11 +1,11 @@ ---- grammar/lexer.l.orig 2014-09-30 16:44:49 UTC -+++ grammar/lexer.l +--- grammar/lexer.l.orig 2014-10-02 17:44:03.599344945 -0500 ++++ grammar/lexer.l 2014-10-02 17:44:08.808344494 -0500 @@ -31,7 +31,7 @@ %{ #include "config.h" #include "parserif.h" --extern char *strdup(char*); /* somehow we do not get this from string.h... */ -+//extern char *strdup(char*); /* somehow we do not get this from string.h... */ +-extern char *strdup(__const char*); /* somehow we may not get this from string.h... */ ++//extern char *strdup(__const char*); /* somehow we may not get this from string.h... */ %} %option noyywrap nodefault case-insensitive yylineno