summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-09-30 18:10:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-09-30 18:10:20 +0200
commit4459d213841ffa2f8a76b32c9f7ce45650f423fc (patch)
tree30ef02e63a67c6473dce6abb2adb9c68681663ea /package
parent185f430dbf2c36415930941eced92723824950d6 (diff)
flex: fix bootstrap on NetBSD from upstream
Diffstat (limited to 'package')
-rw-r--r--package/flex/patches/patch-configure_ac12
1 files changed, 10 insertions, 2 deletions
diff --git a/package/flex/patches/patch-configure_ac b/package/flex/patches/patch-configure_ac
index 3660fc684..7a6eea15c 100644
--- a/package/flex/patches/patch-configure_ac
+++ b/package/flex/patches/patch-configure_ac
@@ -1,5 +1,5 @@
---- flex-2.6.4.orig/configure.ac 2017-05-03 13:16:37.000000000 -0700
-+++ flex-2.6.4/configure.ac 2018-05-26 15:05:50.426997650 -0700
+--- flex-2.6.4.orig/configure.ac 2017-05-03 22:16:37.000000000 +0200
++++ flex-2.6.4/configure.ac 2019-09-30 18:05:13.288027994 +0200
@@ -25,8 +25,10 @@
# autoconf requirements and initialization
@@ -20,3 +20,11 @@
AC_PROG_YACC
AS_IF([test "$YACC" != 'bison -y'], [
YACC="\${top_srcdir}/build-aux/missing bison -y"
+@@ -166,6 +166,7 @@ strtol dnl
+ AC_CHECK_FUNCS([dnl
+ pow dnl Used only by "examples/manual/expr"
+ setlocale dnl Needed only if NLS is enabled
++reallocarr dnl NetBSD function. Use reallocarray if not available.
+ reallocarray dnl OpenBSD function. We have replacement if not available.
+ ])
+