Commit Graph

15405 Commits

Author SHA1 Message Date
Termux Github Actions
776714cd82 zoxide: update to 0.7.8
This commit has been automatically submitted by Github Actions.
2021-10-23 00:31:40 +00:00
Henrik Grimler
6a86fd8b28 ndk: update to r23b
Includes fix for -fno-integrated-as flag, which is needed by libx265
build.
2021-10-22 23:05:45 +02:00
Henrik Grimler
a2fdb7679b libvpx: fix build with ndk-r23
Seems we need to explicitly pass -fPIC for all arches.
2021-10-22 23:05:45 +02:00
Henrik Grimler
a2187e62df Bump all packages depending on libc++
As part of ndk-r23 upgrade.
2021-10-22 23:05:45 +02:00
Henrik Grimler
7c579a7215 binutils: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler
e410863adc aapt: fix build with ndk-r23
As we have seen [1], i686 seem to explicitly need -fPIC.  Pass
CPPFLAGS in more places when building aapt, to avoid an error like:

ld: error: relocation R_386_PC32 cannot be used against symbol config_free; recompile with -fPIC
>>> defined in /tmp/config_utils-70060d.o
>>> referenced by config_utils.c
>>>               /tmp/config_utils-70060d.o:(config_free)

[1] https://github.com/termux/termux-packages/issues/7215#issuecomment-906154438
2021-10-22 23:05:45 +02:00
Butta
d821abed8f libandroid-spawn: NDK 23 actually checks the INTRODUCED_IN() macros, so indicate that this library has been backported to API 24 2021-10-22 23:05:45 +02:00
Henrik Grimler
864f6a63fe lua-language-server: fix hostbuild step
Package still fails to build though:

FAILED: build/obj/source_bee/subprocess_posix.obj
aarch64-linux-android-clang -MMD -MT build/obj/source_bee/subprocess_posix.obj -MF build/obj/source_bee/subprocess_posix.obj.d -std=c++17 -O2 -Wall -Werror -fvisibility=hidden -I3rd/bee.lua/bee/nonstd -I3rd/bee.lua -DBEE_INLINE -DNDEBUG  -fstack-protector-strong -Oz -I/data/data/com.termux/files/usr/include -o build/obj/source_bee/subprocess_posix.obj -c 3rd/bee.lua/bee/subprocess/subprocess_posix.cpp
3rd/bee.lua/bee/subprocess/subprocess_posix.cpp:152:17: error: 'posix_spawnattr_init' is unavailable: introduced in Android 28
        int r = posix_spawnattr_init(&spawnattr_);
                ^
/data/data/com.termux/files/usr/include/spawn.h:56:5: note: 'posix_spawnattr_init' has been explicitly marked unavailable here
int posix_spawnattr_init(posix_spawnattr_t* __attr) __INTRODUCED_IN(28);
    ^
2021-10-22 23:05:45 +02:00
Henrik Grimler
8338d73146 quickjs: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler
a118b17124 perl: specify AR to fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler
2beb24d773 libnl: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Yaksh Bariya
141448bbca Fix lubicu package 2021-10-22 23:05:45 +02:00
Henrik Grimler
83bf55b72d openal-soft: fix build error when qt5 is found on host
If ALSOFT_NO_CONFIG_UTIL it looks for qt5widgets.
2021-10-22 23:05:45 +02:00
Henrik Grimler
0d58393f70 libwren: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler
19270b5750 libtirpc: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler
fd0015b9dd heyu: fix errors about duplicate symbols with ndk >=r22
Errors looks like:

    aarch64-linux-android-clang  -fstack-protector-strong -Oz -Drindex=strrchr  -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -o heyu date.o erase.o info.o message.o relay.o monitor.o reset.o setclock.o stop.o tty.o x10.o xread.o xwrite.o status.o cm11a.o eeprom.o process.o sun.o cmd.o config.o x10state.o poll.o modules.o cm17a.o xsync.o timing.o cm10a.o tty_aux.o relay_aux.o x10aux.o rfxcom.o digimax.o oregon.o  -lm
    ld: error: duplicate symbol: newsb
    >>> defined at tty.c
    >>>            tty.o:(newsb)
    >>> defined at tty_aux.c
    >>>            tty_aux.o:(.bss+0x30)

    ld: error: duplicate symbol: oldsb
    >>> defined at tty.c
    >>>            tty.o:(oldsb)
    >>> defined at tty_aux.c
    >>>            tty_aux.o:(.bss+0x0)

    ld: error: duplicate symbol: spoolfile
    >>> defined at relay.c
    >>>            relay.o:(spoolfile)
    >>> defined at relay_aux.c
    >>>            relay_aux.o:(.bss+0x1C4)
    clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
    make[1]: *** [Makefile:467: heyu] Error 1
2021-10-22 23:05:45 +02:00
Henrik Grimler
aeeb0f2c9a libowfat: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler
e2bcb42046 libcap-ng: disable python2 as well 2021-10-22 23:05:45 +02:00
Henrik Grimler
8c1a1b4ba5 termux_step_setup_toolchain: do not add prefix to pkg-config
And create the pkg-config wrapper inside termux_setup_toolchain.
2021-10-22 23:05:45 +02:00
Henrik Grimler
307ffe5a90 termux_setup_standalone_toolchain: remove one indentation level 2021-10-22 23:05:45 +02:00
Henrik Grimler
4b62e1fe3b freeimage: remove swab patch
Not needed with ndk-r23
2021-10-22 23:05:45 +02:00
Henrik Grimler
9869db7792 rust: update to 1.55.0 2021-10-22 23:05:45 +02:00
Henrik Grimler
5531ec27e5 dns2tcp: fix duplicate symbol debug
Error:

ld: error: duplicate symbol: debug
>>> defined at rr.c
>>>            rr.o:(debug)
>>> defined at main.c
>>>            main.o:(.bss+0x0)

happen when trying to build with android-ndk r22 or r23.
More info: https://go-review.googlesource.com/c/go/+/280312
2021-10-22 23:05:45 +02:00
Henrik Grimler
218a206274 busybox: fix build with ndk r23
Compiler and tool names need to be updated in Makefile.

Also fix some patch offsets while we are at it
2021-10-22 23:05:45 +02:00
Henrik Grimler
948900878e busybox: regenerate config 2021-10-22 23:05:45 +02:00
Butta
70eae9ded8 rust: update from 1.53.0 to 1.54.0 2021-10-22 23:05:45 +02:00
Henrik Grimler
db88595a1a ndk-{multilib,sysroot}: update for ndk r23 2021-10-22 23:05:45 +02:00
Henrik Grimler
3f3e2ce49f termux_step_setup_toolchain: print info about applied ndk-patch 2021-10-22 23:05:45 +02:00
Henrik Grimler
a84e862365 ndk-patches: remove TCAFLUSH case from bits/termios_inlines.h
To fix error:

In file included from /termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/termios.h:154:
In file included from /termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/android/legacy_termios_inlines.h:43:
/termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/bits/termios_inlines.h:120:10: error: duplicate case value '0'
    case TCSAFLUSH: cmd = TCSETSF; break;
         ^
/termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/asm-generic/termbits.h:194:19: note: expanded from macro 'TCSAFLUSH'
                  ^
/termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/bits/termios_inlines.h:118:10: note: previous case defined here
    case TCSANOW: cmd = TCSETS; break;
         ^
/termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/asm-generic/termbits.h:191:17: note: expanded from macro 'TCSANOW'
                ^
2021-10-22 23:05:45 +02:00
Henrik Grimler
a465f14c90 Update to use android-ndk r23 2021-10-22 23:05:45 +02:00
Lucy Phipps
e91e3d31c1
alpine: update to 2.25 2021-10-22 21:39:48 +01:00
Lucy Phipps
d2067b15b8
fix files without trailing newlines
%ci:no-build
2021-10-22 20:44:59 +01:00
Lucy Phipps
2d6537de77
elinks: restore pre-configure stage 2021-10-22 20:24:19 +01:00
Lucy Phipps
53e2e4e50a
elinks: update to 0.14.3 2021-10-22 20:00:07 +01:00
Lucy Phipps
b08b9d694f
fix rinetd 2021-10-22 18:39:32 +01:00
Lucy Phipps
8dc8689a71
rinetd: fix patches (really) 2021-10-22 17:08:28 +01:00
Lucy Phipps
08c057ac51
rinetd: fix patches 2021-10-22 17:07:36 +01:00
Lucy Phipps
46992c2993
rinetd: update to 0.73 2021-10-22 15:50:08 +01:00
Henrik Grimler
af3f791645
build-package: use PACKAGE_FORMAT debian if not specified 2021-10-22 09:27:15 +02:00
Lucinda May Phipps
22bfe547af
microsocks: fix url 2021-10-22 08:06:27 +01:00
Lucinda May Phipps
07ed0859f0
microsocks: update to 1.0.2 2021-10-22 08:04:16 +01:00
Ivan Max
fcc61c4da3
pacman: fixes (#7783) 2021-10-22 07:11:07 +01:00
Lucinda May Phipps
93af891777
coreutils: update src-ls.c.patch 2021-10-22 06:35:05 +01:00
Lucinda May Phipps
9f86b9a18b
coreutils: update to 9.0 2021-10-22 06:17:51 +01:00
Termux Github Actions
7f9892a1a0 slides: update to 0.6.1
This commit has been automatically submitted by Github Actions.
2021-10-22 01:07:01 +00:00
Termux Github Actions
525baeba1b macchina: update to 3.0.0
This commit has been automatically submitted by Github Actions.
2021-10-22 00:20:50 +00:00
Termux Github Actions
4fdabfaf5e lf: update to 26
This commit has been automatically submitted by Github Actions.
2021-10-22 00:17:16 +00:00
Lucinda May Phipps
7410e36446
apt: update to 2.3.11 2021-10-21 19:12:58 +01:00
Lucy Phipps
f33a1df81d
libaom: update to 3.2.0 2021-10-21 18:58:08 +01:00
Lucy Phipps
b546529efe
ant: update to 1.10.12 2021-10-21 16:52:46 +01:00