pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hdf Ensure the local yywrap is used. Fixes buil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/738946de7c58
branches:  trunk
changeset: 356724:738946de7c58
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 04 11:17:56 2017 +0000

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

diffstat:

 devel/hdf/distinfo                          |   3 ++-
 devel/hdf/patches/patch-mfhdf_ncgen_ncgen.l |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 4fc60d5a2ce6 -r 738946de7c58 devel/hdf/distinfo
--- a/devel/hdf/distinfo        Wed Jan 04 11:15:21 2017 +0000
+++ b/devel/hdf/distinfo        Wed Jan 04 11:17:56 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2015/11/03 03:27:31 agc Exp $
+$NetBSD: distinfo,v 1.13 2017/01/04 11:17:56 jperkin Exp $
 
 SHA1 (HDF4.2r4.tar.gz) = 000fa1be9c355c490cceed786feeb269a0d355a7
 RMD160 (HDF4.2r4.tar.gz) = 13274858f1fa0c339fab83b1f9c37314bd10d624
@@ -11,3 +11,4 @@
 SHA1 (patch-ar) = 5fbb6e8c56ccf05db0217e9551a0c72ecd9f5c06
 SHA1 (patch-as) = b4fa7cd3bcafd75c9bfc045c2849bde21becd2de
 SHA1 (patch-ba) = 33e79d38ce68540308445f709f5cbafb1b917d05
+SHA1 (patch-mfhdf_ncgen_ncgen.l) = a2d5a5de6a1491582d73dad291fdb0ffa40b7e9a
diff -r 4fc60d5a2ce6 -r 738946de7c58 devel/hdf/patches/patch-mfhdf_ncgen_ncgen.l
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hdf/patches/patch-mfhdf_ncgen_ncgen.l       Wed Jan 04 11:17:56 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-mfhdf_ncgen_ncgen.l,v 1.1 2017/01/04 11:17:56 jperkin Exp $
+
+Ensure the local yywrap is used.
+
+--- mfhdf/ncgen/ncgen.l.orig   2003-12-10 21:15:54.000000000 +0000
++++ mfhdf/ncgen/ncgen.l
+@@ -22,6 +22,7 @@ extern void yyerror();
+ #include <ctype.h>
+ #include <limits.h>
+ #include "ncgentab.h"
++#undef yywrap
+ %}
+ 
+ escquote      \\\"



Home | Main Index | Thread Index | Old Index