pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/intercal Ensure the local yywrap is used. Fixes ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae50b232ddba
branches:  trunk
changeset: 356735:ae50b232ddba
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 04 12:52:40 2017 +0000

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

diffstat:

 lang/intercal/distinfo                  |   3 ++-
 lang/intercal/patches/patch-src_lexer.l |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 74b7aaf7534c -r ae50b232ddba lang/intercal/distinfo
--- a/lang/intercal/distinfo    Wed Jan 04 12:51:18 2017 +0000
+++ b/lang/intercal/distinfo    Wed Jan 04 12:52:40 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2016/08/14 13:39:29 mef Exp $
+$NetBSD: distinfo,v 1.11 2017/01/04 12:52:40 jperkin Exp $
 
 SHA1 (intercal-0.30.tar.gz) = 7c703f388dfb2098e73bbbdabdecdc6878487a07
 RMD160 (intercal-0.30.tar.gz) = 151fb0cca1d128575955f69fdb1ac9f32d07c3da
@@ -7,3 +7,4 @@
 SHA1 (patch-aa) = b6f7d5e4a46361f5af3ce3e1a646bc70c5b01ca6
 SHA1 (patch-ae) = bb28fb6edd30e5d3dd1c41b42a1784cadb9428b0
 SHA1 (patch-ag) = faf03857ad487796879632749489ad33b8648ba2
+SHA1 (patch-src_lexer.l) = 351d5a984d2de5e3e1f062b21609580bce090e4c
diff -r 74b7aaf7534c -r ae50b232ddba lang/intercal/patches/patch-src_lexer.l
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/intercal/patches/patch-src_lexer.l   Wed Jan 04 12:52:40 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_lexer.l,v 1.1 2017/01/04 12:52:40 jperkin Exp $
+
+Ensure the local yywrap is used.
+
+--- src/lexer.l.orig   2010-09-01 22:29:25.000000000 +0000
++++ src/lexer.l
+@@ -38,6 +38,7 @@ LICENSE TERMS
+ /*#undef wchar_t*/
+ /*#define wchar_t unsigned char*/
+ 
++#undef yywrap
+ #ifndef yywrap
+ static int yywrap(void)
+ {



Home | Main Index | Thread Index | Old Index