Commit Graph

3250 Commits

Author SHA1 Message Date
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
17e9bc3344 ndk-patches: Use @TERMUX_PREFIX@ 2017-07-07 03:29:49 +02:00
Fredrik Fornwall
f7f4787b7e privoxy: Specify TERMUX_PKG_KEEP_SHARE_DOC (#1117) 2017-07-07 03:02:23 +02:00
Fredrik Fornwall
a39c49c494 unzip: -Werror=implicit-function-declaration 2017-07-07 02:52:33 +02:00
Fredrik Fornwall
76d1747db3 ttyrec: -Werror=implicit-function-declaration 2017-07-07 02:29:28 +02:00
Fredrik Fornwall
cee3cfd273 sharutils: -Werror=implicit-function-declaration 2017-07-07 02:22:58 +02:00
Fredrik Fornwall
bad0d8faa8 pv: Update from 1.6.0 to 1.6.6
Also fix -Werror=implicit-function-declaration.
2017-07-07 02:07:06 +02:00
Fredrik Fornwall
85d0c243a9 libuuid: -Werror=implicit-function-declaration 2017-07-07 01:49:16 +02:00
Fredrik Fornwall
0bbe44da5f libtalloc: -Werror=implicit-function-declaration 2017-07-07 01:32:23 +02:00
Fredrik Fornwall
9ecb6ecbaf libpcap: -Werror=implicit-function-declaration 2017-07-07 01:16:06 +02:00
Fredrik Fornwall
d48a4f754b libevent: -Werror=implicit-function-declaration 2017-07-07 01:05:34 +02:00
Fredrik Fornwall
586031d997 kona: -Werror=implicit-function-declaration 2017-07-07 00:57:20 +02:00
Fredrik Fornwall
49f69cc34e daemonize: -Werror=implicit-function-declaration 2017-07-07 00:34:47 +02:00
Fredrik Fornwall
fcf596bd19 coreutils: -Werror=implicit-function-declaration 2017-07-07 00:31:19 +02:00
Fredrik Fornwall
76aee696c3 busybox: Fix -Werror=implicit-function-declaration 2017-07-07 00:30:54 +02:00
Fredrik Fornwall
bc9c5bba0d libuv: Update from 1.12.0 to 1.13.0 2017-07-06 23:47:52 +02:00
Fredrik Fornwall
a39f862d68 llvm&clang: Update from 4.0.0 to 4.0.1 2017-07-04 13:45:47 +02:00
Fredrik Fornwall
b53e8a4dd3 mariadb: Bump revision after ndk header fix 2017-07-03 01:29:59 +02:00
Fredrik Fornwall
5efa6a024f openssh: Bump revision with unified headers
Fixes #902 as _FILE_OFFSET_BITS=64 is now supported in the unified
headers.
2017-07-03 01:28:56 +02:00
Fredrik Fornwall
966c9588c6 coreutils: Bump revision after unified headers 2017-07-03 01:28:41 +02:00
Fredrik Fornwall
4a5fd7241c Fix incorrect struct __sFILE
The __sFILE struct cannot change size when _FILE_OFFSET_BITS=64
is set as it is an API into libc.
2017-07-03 01:27:32 +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
Fredrik Fornwall
6f8d07fa94 Remove pty.h from libutil-dev
Instead let ndk-sysroot provide it.
2017-07-02 11:56:40 +02:00
Fredrik Fornwall
10519583bb coreutils: Avoid installing uptime
Uptime is provided by procps-ng.
2017-07-02 11:37:59 +02:00
Fredrik Fornwall
358b7c4a95 build-package.sh: pkg-config and gnulib updates
Avoid setting PKG_CONFIG_LIBDIR until after host build.

Avoid more of gnulib.
2017-07-02 11:37:35 +02:00
Fredrik Fornwall
142ba0794f ncurses: Format configure args
Also remove --with-pkg-config-libdir which is not necessary when
already having set the PKG_CONFIG_LIBDIR environment variable.
2017-07-02 11:21:08 +02:00
Fredrik Fornwall
2b72c3920e tmux: Include <stdlib.h> for getprogname()
After switching to unified headers,  <stdlib.h> was not included
indirectly in compat/setproctitle.c. This caused it to be implicitly
declared to return int and caused a segfault.
2017-07-02 11:18:52 +02:00
Fredrik Fornwall
fcf9ddc3d6 Drop more res_init() patches 2017-07-01 08:53:30 +02:00
Fredrik Fornwall
1cfd05d1cc weechat: Drop res_init() patches
They are no longer needed with unified headers.
2017-07-01 08:46:42 +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
baee2e1708 packages/ldc -> disabled-packages/ldc 2017-07-01 02:43:26 +02:00
joakim-noah
8f758f1ae2 ldc: add package (#1078) 2017-07-01 02:43:00 +02:00
Vishal Biswas
c4a1b6a804 libllvm: add llvm-config helper script (#917)
* libllvm: add llvm-config helper script

* libllvm: add components to llvm-config wrapper

* libllvm: restructure llvm-config.in

* libllvm: remove unsupported gcc flags from llvm-config

* libllvm: use full libfile path for --libs

* libllvm: fix has_rtti in llvm-config

* libllvm: add cmake files path in llvm-config
2017-07-01 02:41:21 +02:00
Fredrik Fornwall
c2df040430 Patch <android/api-level.h> for default api level 2017-07-01 02:25:36 +02:00
Fredrik Fornwall
ebb3f0f296 Patch stdlib.h to include stdint.h
Fixes graphviz build.
2017-07-01 01:54:44 +02:00
Fredrik Fornwall
3b210f9b99 pick: Update from 1.6.1 to 1.7.0 2017-07-01 01:06:23 +02:00
Fredrik Fornwall
965a99a5b6 opus-tools: Update from 0.1.9 to 0.1.10 2017-07-01 01:06:11 +02:00
Fredrik Fornwall
08ce116f5b libopus: Update from 1.1.5 to 1.2.1 2017-07-01 01:05:57 +02:00
Fredrik Fornwall
c6f81a7fbf lzop: Switch for fossies.org for src 2017-07-01 00:54:40 +02:00
Fredrik Fornwall
fa64f816d9 subversion: Fix building with unified headers 2017-07-01 00:54:40 +02:00
pvagner
cc02b93ff8 Add scripts/setup-archlinux.sh similar to setup-ubuntu.sh (#1098) 2017-07-01 00:39:28 +02:00
Fredrik Fornwall
ba940f34c1 apt: Fix building with unified headers 2017-07-01 00:32:45 +02:00
Fredrik Fornwall
a7f36d3b9b newsbeuter: Fix building with unified headers 2017-07-01 00:15:06 +02:00
Fredrik Fornwall
ff91813fdb Switch over to building with unified headers 2017-07-01 00:04:02 +02:00
Fredrik Fornwall
339de05e4d serf: Fix building with unified headers 2017-06-30 23:59:52 +02:00
Fredrik Fornwall
43332737df torsocks: Fix building with unified headers 2017-06-30 23:39:32 +02:00
Fredrik Fornwall
3436267b24 emacs: Fix building with unified headers 2017-06-30 23:39:25 +02:00
Fredrik Fornwall
cf21891a80 Required NDK r15b 2017-06-30 23:32:04 +02:00
Fredrik Fornwall
eec15dd8b7 mariadb: Fix building with unified headers 2017-06-30 23:20:36 +02:00