summaryrefslogtreecommitdiff
path: root/devel/cxref/patches/patch-src_parse-yy.h
blob: e85f30a17aefa1e86e8d32464e40c40f5c92b5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-src_parse-yy.h,v 1.1 2017/01/04 12:46:06 jperkin Exp $

Ensure the local yywrap is used.

--- src/parse-yy.h.orig	2010-12-27 09:55:02.000000000 +0000
+++ src/parse-yy.h
@@ -87,6 +87,7 @@ void yyrestart (FILE *input_file);
 
 #define YY_SKIP_YYWRAP 1 /* Don't use yywrap prototype */
 
+#undef yywrap
 #ifndef yywrap
 
 /*+ Needed in lex but does nothing. +*/