Commit graph

19 commits

Author SHA1 Message Date
Marko Ratkaj
0fb14a2b1a tools: flex: fix segfault with glibc 2.26+
Fix segmentation fault caused by implicit declaration of function 'reallocarray'. Added patch will enable
reallocarray() prototype in glibc 2.26+ on Linux systems. This fix will be included in flex 2.6.5.

Fixes LEDE issue: FS#1003 (Flex does not build with GCC 7.2)

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-09-24 16:28:28 +02:00
Hauke Mehrtens
027aea8af7 tools/flex: Revert "tools/flex: add autoreconf"
This was already done in commit 91e262c6b3 ("tools: flex: fix build
with automake 1.15.1")

This reverts commit 6b127d8639.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2017-07-15 00:12:46 +02:00
John Crispin
6b127d8639 tools/flex: add autoreconf
build blows up on latest debian due to automake mismatch

Signed-off-by: John Crispin <john@phrozen.org>
2017-07-06 08:57:27 +02:00
Jo-Philipp Wich
91e262c6b3 tools: flex: fix build with automake 1.15.1
After the update of GNU automake, the flex configure fails with

    configure.ac:31: error: version mismatch.  This is Automake 1.15.1,
    configure.ac:31: but the definition used by this AM_INIT_AUTOMAKE
    configure.ac:31: comes from Automake 1.15.

Apply the autoreconf host fixup to properly regenerate configure before
to avoid triggering the version mismatch. Also refresh the patch while
we're at it.

Fixes FS#885.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-05 19:22:39 +02:00
Eric Luehrsen
aeeb2faf88 flex: update to 2.6.4 (FS#809)
flex 2.6.3 has a bug which fails code generation and compile of some packages

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-05-26 07:53:03 +02:00
Hannu Nyman
8040420b00 tools/flex: update to 2.6.3
* update flex to 2.6.3
* download .tar.gz (as upstream has dropped .xz)
* refresh patches

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-25 19:01:07 +02:00
Felix Fietkau
720b99215d treewide: clean up download hashes
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-16 22:39:22 +01:00
John Crispin
ae30ad61fb tools/flex: update to 2.6.1
Update flex to 2.6.1
* Flex has moved to Github, adjust download link
* Remove patch that has been applied upstream
* Disable building tests to avoid circular dependency to bison
  - disable also docs and examples at the same time

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 49025
2016-03-16 09:26:51 +00:00
Jo-Philipp Wich
f7e56763e1 tools: remove static linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44285
2015-02-06 00:00:43 +00:00
Felix Fietkau
4305bcf16a tools/flex: disable building shared libfl.so
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42308
2014-08-27 09:20:18 +00:00
Luka Perkov
7ddc0380bd flex: upgrade to version 2.5.39
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40533
2014-04-19 21:39:10 +00:00
Felix Fietkau
8087fa9e04 flex: fix build error due to undefined library symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39888
2014-03-12 10:47:31 +00:00
Luka Perkov
3ed094e85a flex: upgrade to version 2.5.38
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39856
2014-03-10 01:26:14 +00:00
Luka Perkov
552e5a0b00 flex: upgrade to version 2.5.37
SVN-Revision: 35824
2013-02-28 00:52:31 +00:00
Felix Fietkau
a3649900b3 tools/flex: enable parallel builds
SVN-Revision: 33438
2012-09-15 14:18:01 +00:00
Jo-Philipp Wich
cf1698c637 use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
2012-08-12 12:34:30 +00:00
Jo-Philipp Wich
6c5dc20343 flex: link statically
SVN-Revision: 33091
2012-08-10 19:26:24 +00:00
John Crispin
ccb6b0a063 tools: clean up Makefiles / make ccache work
SVN-Revision: 29754
2012-01-15 11:43:13 +00:00
Jo-Philipp Wich
c0b0acee08 build flex on the host, some pakcages need it in the newest version
SVN-Revision: 24631
2010-12-17 02:41:16 +00:00