pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cxref Ensure the local yywrap is used. Fixes bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5212ee561526
branches:  trunk
changeset: 356732:5212ee561526
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 04 12:46:06 2017 +0000

description:
Ensure the local yywrap is used.  Fixes build with newer flex.

diffstat:

 devel/cxref/distinfo                     |   3 ++-
 devel/cxref/patches/patch-src_parse-yy.h |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r b131b072e2ed -r 5212ee561526 devel/cxref/distinfo
--- a/devel/cxref/distinfo      Wed Jan 04 12:44:59 2017 +0000
+++ b/devel/cxref/distinfo      Wed Jan 04 12:46:06 2017 +0000
@@ -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 -r b131b072e2ed -r 5212ee561526 devel/cxref/patches/patch-src_parse-yy.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cxref/patches/patch-src_parse-yy.h  Wed Jan 04 12:46:06 2017 +0000
@@ -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. +*/



Home | Main Index | Thread Index | Old Index