Import of pkgsrc-2015Q3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.100 2015/06/12 10:48:47 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.101 2015/06/30 21:39:09 richard Exp $
|
||||
|
||||
DISTNAME= bison-3.0.4
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
@@ -21,6 +21,8 @@ CONFIGURE_ENV+= ac_cv_prog_M4=${TOOLS_PATH.gm4}
|
||||
|
||||
INFO_FILES= yes
|
||||
TEST_TARGET= check
|
||||
REPLACE_PERL+= examples/extexi
|
||||
REPLACE_SH+= examples/test examples/*/*.test
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
$NetBSD: distinfo,v 1.44 2015/03/24 08:03:54 dsainty Exp $
|
||||
$NetBSD: distinfo,v 1.45 2015/06/30 21:39:09 richard Exp $
|
||||
|
||||
SHA1 (bison-3.0.4.tar.xz) = 8270497aad88c7dd4f2c317298c50513fb0c3c8e
|
||||
RMD160 (bison-3.0.4.tar.xz) = 414959f3d619d8e4875e241ee02852b2ff13c2cb
|
||||
Size (bison-3.0.4.tar.xz) = 1973796 bytes
|
||||
SHA1 (patch-data_glr.c) = a2e0900ed995e4320e80f8ed05eae8e82be50502
|
||||
SHA1 (patch-lib_isnan.c) = 5b44fc6e2e97e36f91cd784bf3a38ad459fccdab
|
||||
SHA1 (patch-lib_stdio.in.h) = bb793f0c8f56c3a838609f8a86cf5afc70420da8
|
||||
|
||||
14
devel/bison/patches/patch-lib_stdio.in.h
Normal file
14
devel/bison/patches/patch-lib_stdio.in.h
Normal file
@@ -0,0 +1,14 @@
|
||||
$NetBSD: patch-lib_stdio.in.h,v 1.1 2015/06/30 21:39:09 richard Exp $
|
||||
avoid warnings w.r.t. gets() when c++ is used
|
||||
|
||||
--- lib/stdio.in.h.orig 2015-01-15 08:25:52.000000000 +0000
|
||||
+++ lib/stdio.in.h
|
||||
@@ -723,7 +723,7 @@ _GL_WARN_ON_USE (getline, "getline is un
|
||||
so any use of gets warrants an unconditional warning; besides, C11
|
||||
removed it. */
|
||||
#undef gets
|
||||
-#if HAVE_RAW_DECL_GETS
|
||||
+#if HAVE_RAW_DECL_GETS && !defined(__cplusplus)
|
||||
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user