From bc48712a52309c60e1e5a7aa2a7578f067daa918 Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 4 Jan 2017 10:34:10 +0000 Subject: Ensure the local yywrap is used. Fixes build with newer flex. --- audio/nas/patches/patch-server_dia_lex.l | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 audio/nas/patches/patch-server_dia_lex.l (limited to 'audio/nas/patches') diff --git a/audio/nas/patches/patch-server_dia_lex.l b/audio/nas/patches/patch-server_dia_lex.l new file mode 100644 index 00000000000..63612764607 --- /dev/null +++ b/audio/nas/patches/patch-server_dia_lex.l @@ -0,0 +1,14 @@ +$NetBSD: patch-server_dia_lex.l,v 1.1 2017/01/04 10:34:10 jperkin Exp $ + +Ensure the local yywrap is used. + +--- server/dia/lex.l.orig 2013-04-27 00:41:06.000000000 +0000 ++++ server/dia/lex.l +@@ -5,6 +5,7 @@ + #include "auservertype.h" + #include "gram.h" + #include "nasconf.h" ++#undef yywrap + + int Lineno = 1; /* current line number of the scanner */ + -- cgit v1.2.3