Commit Graph

10 Commits

Author SHA1 Message Date
Fredrik Fornwall 6988f30ee7 Bump c++-using packages 2018-06-26 13:29:06 +02:00
Fredrik Fornwall 6c29aaa1c7 Transition from gnustl to libc++
This will make things as std::to_string() and other C++ features
work with a modern and supported C++ library.

We package up libc++_shared.so and bump the revision of every C++
using package to make it rebuild against it.

Users who have built C++ using libraries or programs will probably
need to rebuild them if they are linked against Termux-supplied
libraries, as user code was previously linked against gnustl while
the system libraries are now using libc++, and it's not a good idea
to mix C++ standard libraries in a program.
2017-07-14 00:23:37 +02:00
Fredrik Fornwall 91f8996a01 cboard: Rebuild against latest ncurses 2017-03-07 01:24:04 +01:00
Fredrik Fornwall 3fc9ead8d5 gnuchess: Update from 6.2.3 to 6.2.4 2016-10-29 16:25:44 -04:00
Fredrik Fornwall 722ed12d69 Switch from ftp.gnu.org to mirrors.kernel.org 2016-09-24 18:42:39 -04:00
Fredrik Fornwall 76c011d81e gnuchess: Update from 6.2.2 to 6.2.3 2016-09-22 21:53:48 +02:00
Fredrik Fornwall 83d11d6e04 Update readline to v7 and bash to v4.4
As a consequence of updating readline to version 7 we bump the
build revision of all packaging linking to it as the soname has
changed.
2016-09-17 18:29:14 -04: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 289f1725e7 Update gnuchess 2015-10-25 16:55:08 -04:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00