diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-01-04 10:34:10 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-01-04 10:34:10 +0000 |
commit | bc48712a52309c60e1e5a7aa2a7578f067daa918 (patch) | |
tree | 7b088115453b990788f2fe576f1ddd76a4f14d04 /audio/nas/patches | |
parent | eb4e6d247a9f4c5ba0dc3243ff2f507ee495bb6a (diff) | |
download | pkgsrc-bc48712a52309c60e1e5a7aa2a7578f067daa918.tar.gz |
Ensure the local yywrap is used. Fixes build with newer flex.
Diffstat (limited to 'audio/nas/patches')
-rw-r--r-- | audio/nas/patches/patch-server_dia_lex.l | 14 |
1 files changed, 14 insertions, 0 deletions
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 */ + |