pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/flex



Module Name:    pkgsrc
Committed By:   maya
Date:           Mon Jul 24 10:07:44 UTC 2017

Modified Files:
        pkgsrc/devel/flex: Makefile distinfo
Added Files:
        pkgsrc/devel/flex/patches: patch-src_main.c

Log Message:
flex: apply upstream commit to avoid redefining yywrap.
we are still redefining some.

bump pkgrevision


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/devel/flex/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/flex/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/flex/patches/patch-src_main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/flex/Makefile
diff -u pkgsrc/devel/flex/Makefile:1.57 pkgsrc/devel/flex/Makefile:1.58
--- pkgsrc/devel/flex/Makefile:1.57     Thu Jan 12 16:53:22 2017
+++ pkgsrc/devel/flex/Makefile  Mon Jul 24 10:07:44 2017
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.57 2017/01/12 16:53:22 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2017/07/24 10:07:44 maya Exp $
 
 DISTNAME=      flex-2.6.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=westes/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}

Index: pkgsrc/devel/flex/distinfo
diff -u pkgsrc/devel/flex/distinfo:1.31 pkgsrc/devel/flex/distinfo:1.32
--- pkgsrc/devel/flex/distinfo:1.31     Thu Jan 12 16:53:22 2017
+++ pkgsrc/devel/flex/distinfo  Mon Jul 24 10:07:44 2017
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.31 2017/01/12 16:53:22 wiz Exp $
+$NetBSD: distinfo,v 1.32 2017/07/24 10:07:44 maya Exp $
 
 SHA1 (flex-2.6.3.tar.gz) = 8008eb0e4ccc634c334ac1d9e04716be2ba527a9
 RMD160 (flex-2.6.3.tar.gz) = 992f79f75e167bd062b8c8f00c783ea6349f9fd4
 SHA512 (flex-2.6.3.tar.gz) = f14b1af7ddd148660737991787fcf13d86cc0bef3859ed6c2135963373e76524d70382795c845cb6491b0435f8c40ba81e17f15267592b8d1656cfd4c3430b00
 Size (flex-2.6.3.tar.gz) = 1405560 bytes
+SHA1 (patch-src_main.c) = 39f1682a7809a8db308c92bb127780fd98d52b3e
 SHA1 (patch-tests_Makefile.am) = f30524f9b8c22a37cb04b4406ec142ea1ecb8e59
 SHA1 (patch-tests_Makefile.in) = 709d5f117418bbcbcc54926f582bc808daf12f3b

Added files:

Index: pkgsrc/devel/flex/patches/patch-src_main.c
diff -u /dev/null pkgsrc/devel/flex/patches/patch-src_main.c:1.1
--- /dev/null   Mon Jul 24 10:07:44 2017
+++ pkgsrc/devel/flex/patches/patch-src_main.c  Mon Jul 24 10:07:44 2017
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_main.c,v 1.1 2017/07/24 10:07:44 maya Exp $
+
+Pull in upstream commit:
+[PATCH] scanner: Use prefix when defining yywrap to avoid redefinition.
+Fixes regression introduced in v2.6.3.
+
+--- src/main.c.orig    2016-12-29 20:03:14.000000000 +0000
++++ src/main.c
+@@ -1586,9 +1586,9 @@ void readin (void)
+       if (!do_yywrap) {
+               if (!C_plus_plus) {
+                        if (reentrant)
+-                              outn ("\n#define yywrap(yyscanner) (/*CONSTCOND*/1)");
++                              out_str ("\n#define %swrap(yyscanner) (/*CONSTCOND*/1)\n", prefix);
+                        else
+-                              outn ("\n#define yywrap() (/*CONSTCOND*/1)");
++                              out_str ("\n#define %swrap() (/*CONSTCOND*/1)\n", prefix);
+               }
+               outn ("#define YY_SKIP_YYWRAP");
+       }
+-- 
+2.13.1
+



Home | Main Index | Thread Index | Old Index