pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/flex flex: add workaround for netbsd-8 which seg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9dbc23902b3d
branches:  trunk
changeset: 365744:9dbc23902b3d
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Jul 24 14:34:49 2017 +0000

description:
flex: add workaround for netbsd-8 which segfaults during the build

diffstat:

 devel/flex/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 875075d4811c -r 9dbc23902b3d devel/flex/Makefile
--- a/devel/flex/Makefile       Mon Jul 24 14:19:31 2017 +0000
+++ b/devel/flex/Makefile       Mon Jul 24 14:34:49 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2017/07/24 14:19:06 jakllsch Exp $
+# $NetBSD: Makefile,v 1.60 2017/07/24 14:34:49 maya Exp $
 
 DISTNAME=      flex-2.6.4
 CATEGORIES=    devel lang
@@ -29,6 +29,9 @@
 LDFLAGS.SCO_SV+=       -lsocket
 .endif
 
+# https://github.com/westes/flex/issues/219
+CONFIGURE_ENV.NetBSD+= ac_cv_func_reallocarray=no
+
 #.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            bash:build



Home | Main Index | Thread Index | Old Index