Commit Graph

11 Commits

Author SHA1 Message Date
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
0be9118d7f mariadb: Enable 32-bit builds again 2017-07-10 01:49:27 +02:00
Fredrik Fornwall
993268c308 Drop -D_FILE_OFFSET_BITS=64 support for now
32-bit android uses 32-bit off_t by default. When building with
-D_FILE_OFFSET_BITS=64 with unified headers off_t are promoted
to 64-bit, but there are bugs in the toolchain and spotty support
for it in the platform (not all functions are available until
android-24, and the platform zlib is compiled with 32-bit off_t).

Also, unless every library&program is rebuilt with 64-bit off_t,
including user-built ones, we risk a mismatch between programs and
libraries which can cause serious (but sometimes subtle) runtime
failures.

As -D_FILE_OFFSET_BITS=64 is not that important for most users
(with mariadb requiring it as an exception), we drop the support
for now by patching it away in <sys/cdefs.h>.
2017-07-07 03:52:46 +02:00
Fredrik Fornwall
b53e8a4dd3 mariadb: Bump revision after ndk header fix 2017-07-03 01:29:59 +02:00
Fredrik Fornwall
2328596576 mariadb: Fix i686 build with libatomic 2017-07-02 21:41:14 +02:00
Fredrik Fornwall
44c69b57b3 mariadb: Bump revision, set INSTALL_SBINDIR 2017-07-02 13:57:36 +02:00
Vishal Biswas
a156f81751 remove unnecessary patches and enable mariadb for arm and i686 (#1115)
* krb5: res_init and res_search prototypes are now declared

* mariadb: snprintf is no longer a macro

* mariadb: enable arm, i686
2017-07-01 08:44:49 +02:00
Fredrik Fornwall
eec15dd8b7 mariadb: Fix building with unified headers 2017-06-30 23:20:36 +02:00
Fredrik Fornwall
fe44d9a19b mariadb: Avoid opportunistic linkage 2017-06-18 02:28:07 +02:00
Fredrik Fornwall
55ee01528e mariadb: Update from 10.1.23 to 10.2.6 2017-06-16 23:26:46 +02:00
Fredrik Fornwall
4ed3015bfb mariadb: Enable package (64-bit only for now) 2017-05-08 23:29:24 +02:00