Commit Graph

12 Commits

Author SHA1 Message Date
Leonid Pliushch 6a3865aa08 fix licenses where possible
Some packages have license set to "custom" and this
should be fixed.
2019-01-21 17:17:53 +02:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall fb4644bd4b flex: Patch Makefile.in instead of Makefile.am
This avoids the following error when building under ubuntu 18.04
which has a never version of automake:

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.  You should recreate
configure.ac:31: aclocal.m4 with aclocal and run automake again.
2018-04-29 23:48:19 +02:00
Fredrik Fornwall 577488b800 flex: Fix building under ubuntu 17.10 2017-11-02 02:22:05 +01:00
Fredrik Fornwall 4503d57b65 flex: Update from 2.6.3 to 2.6.4 2017-05-10 22:55:06 +02:00
Fredrik Fornwall 7820f30c8b flex: Update from 2.6.0 to 2.6.3 2017-01-30 01:36:35 +01:00
Fredrik Fornwall af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall 7406fbd982 flex: Do not split up in -dev variant
The only header file is FlexLexer.h, and
this is not split up in debian.
2016-09-20 01:11:43 -04:00
Fredrik Fornwall 52cedfe48c flex: Configure path to m4. Add dependency on m4. 2016-01-28 15:19:50 -05:00
Fredrik Fornwall 9cd1f0e325 flex: Update from 2.5.39 to 2.6.0 2015-12-27 07:00:01 -05:00
Fredrik Fornwall 150f95af27 Fix rpl_malloc when cross compiling
Work around rpl_malloc being used, see
http://wiki.buici.com/xwiki/bin/view/Programing+C+and+C%2B%2B/Autoconf+and+RPL_MALLOC
for more information:

"The AC_FUNC_MALLOC macro makes sure that the malloc function when passed a zero
argument returns a valid memory block instead of a NULL pointer. This behaviour
conforms to the GNU C library.  Normally, this is a reasonable test that autoconf
makes at build-time. In the case of cross-compilation, however, autoconf cannot
execute a program to verify proper behavior.  It makes the conservative assumption
that the target library will produce non-conforming code.

Failure of this test causes autconf to replace malloc() calls with rpl_malloc()
calls. At link time, if there is no rpl_malloc() function, the linker will fail
with an error describing the missing symbol. The autoconf documentation recommends
adding this harmless code to the application to implement the function."

In Termux the rpl_malloc() usage is useless at best, and may also prevent building
some packages as well as giving runtime crashes for libgc-using packages or others
expecting to intercept malloc.

Previously some packages specified worked around this themselves, but the configure
arguments are now moved into build-package.sh.
2015-11-15 16:04:37 -05:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00