From 894c386f96dafed35020008d5dfbce8008b4d957 Mon Sep 17 00:00:00 2001 From: Mike Thompson Date: Sat, 26 May 2018 21:52:19 -0700 Subject: 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 --- package/flex/patches/patch-configure_ac | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'package/flex/patches/patch-configure_ac') 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 -- cgit v1.2.3