summaryrefslogtreecommitdiff
path: root/package/flex
diff options
context:
space:
mode:
authorMike Thompson <mpthompson@gmail.com>2018-05-26 21:52:19 -0700
committerWaldemar Brodkorb <wbx@openadk.org>2018-05-27 12:21:20 +0200
commit894c386f96dafed35020008d5dfbce8008b4d957 (patch)
tree3f5ccbfac8baab9cdcdc83e6b02e4f4727c716ad /package/flex
parent035f5af9779487b6b7ab2339963c8f76b9448a8c (diff)
Fix for host build of flex package.
When building under Ubuntu 18.04 the flex package for the host will fail with the following error: [stage1scan.c] Segmentation fault (core dumped) This seems to be because Ubuntu 18.04 uses glibc 2.26 or newer as described in the following URL: https://git.busybox.net/buildroot/commit/?id=c128c5f3c79b31d89256ffbc5c650ba613d3d52b This fix to configure.ac in the flex package will work around this error. Signed-off-by: Mike Thompson <mpthompson@gmail.com>
Diffstat (limited to 'package/flex')
-rw-r--r--package/flex/patches/patch-configure_ac17
1 files changed, 14 insertions, 3 deletions
diff --git a/package/flex/patches/patch-configure_ac b/package/flex/patches/patch-configure_ac
index 2f7599357..3660fc684 100644
--- a/package/flex/patches/patch-configure_ac
+++ b/package/flex/patches/patch-configure_ac
@@ -1,6 +1,17 @@
---- flex-2.6.4.orig/configure.ac 2017-05-03 21:16:37.000000000 +0100
-+++ flex-2.6.4/configure.ac 2018-03-14 05:11:52.278756139 +0100
-@@ -37,8 +37,6 @@ AC_SUBST(SHARED_VERSION_INFO)
+--- 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
+@@ -25,8 +25,10 @@
+ # autoconf requirements and initialization
+
+ AC_INIT([the fast lexical analyser generator],[2.6.4],[flex-help@lists.sourceforge.net],[flex])
++AC_PREREQ([2.60])
+ AC_CONFIG_SRCDIR([src/scan.l])
+ AC_CONFIG_AUX_DIR([build-aux])
++AC_USE_SYSTEM_EXTENSIONS
+ LT_INIT
+ AM_INIT_AUTOMAKE([1.11.3 -Wno-portability foreign check-news std-options dist-lzip parallel-tests subdir-objects])
+ AC_CONFIG_HEADER([src/config.h])
+@@ -37,8 +39,6 @@ AC_SUBST(SHARED_VERSION_INFO)
# checks for programs