diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-01-04 12:46:06 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-01-04 12:46:06 +0000 |
commit | a5d9bace0b42fa7345834944fa0725c9612e04ed (patch) | |
tree | c3ce37e4e8c8510cf1d9f260c9e41f53ee160f36 /devel/cxref | |
parent | 77fb9e274486be493e349c4b510617eeb9ae6657 (diff) | |
download | pkgsrc-a5d9bace0b42fa7345834944fa0725c9612e04ed.tar.gz |
Ensure the local yywrap is used. Fixes build with newer flex.
Diffstat (limited to 'devel/cxref')
-rw-r--r-- | devel/cxref/distinfo | 3 | ||||
-rw-r--r-- | devel/cxref/patches/patch-src_parse-yy.h | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/cxref/distinfo b/devel/cxref/distinfo index a6db3adbba7..c69ad6fb6dd 100644 --- a/devel/cxref/distinfo +++ b/devel/cxref/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.10 2015/11/03 03:27:22 agc Exp $ +$NetBSD: distinfo,v 1.11 2017/01/04 12:46:06 jperkin Exp $ SHA1 (cxref-1.6d.tgz) = b984d85da7b7fa39794932e6fe85a0657f6240bb RMD160 (cxref-1.6d.tgz) = 3760f2f074ec26b6702efbd38f24f0bb231488e0 SHA512 (cxref-1.6d.tgz) = 7d2689817d3bfac880948b5bed9090879864db483d960854525e27b1327e63896d77cbb8e8d7a5e33c35918b2846c8ebfbd4201203f0d9e4d33616ac1c290e0b Size (cxref-1.6d.tgz) = 415744 bytes SHA1 (patch-aa) = 0696dc7e2c027ebbbfb6747ff36ec9f9a36b7a88 +SHA1 (patch-src_parse-yy.h) = 7c38125a5c93b69d8190bdc3c941604df228e764 SHA1 (patch-src_parse_l) = 38638d7ac187ddebec2fb446f38adaace3ef3712 diff --git a/devel/cxref/patches/patch-src_parse-yy.h b/devel/cxref/patches/patch-src_parse-yy.h new file mode 100644 index 00000000000..e85f30a17ae --- /dev/null +++ b/devel/cxref/patches/patch-src_parse-yy.h @@ -0,0 +1,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. +*/ |