mirror of
https://github.com/termux/termux-packages.git
synced 2025-02-22 15:47:26 +00:00
Fixes "`error: incomplete definition of type 'struct _win_st'`" during
build.
Progress on https://github.com/termux/termux-packages/issues/21130
Copied and pasted from 05e22fdc66
`0005-aalib-m4.patch`: Fix --with-aalib-prefix argument
`0006-aalib-c99.patch`: Fix builtin-declaration-mismatch compiler warnings
`0007-aalib-free-offset-pointer.patch`: Fix free-nonheap-object compiler warning
`0008-aalib-key-down-OOB.patch`: Fix aggressive-loop-optimizations compiler warning
`0009-aalib-aalinuxkbd-return.patch`: Fix 'return' with no value compiler warning
`0010-aalib-opaque-ncurses-fix.patch`: Fix build for ncurses built with opaque-curses option
`0011-aalib-fix-aarender.patch`: Fix rendering with custom aspect ratio
`0012-aalib-mouse.patch`: Fix typo for KEY_MOUSE condition
30 lines
1.5 KiB
Diff
30 lines
1.5 KiB
Diff
--- a/config.sub
|
|
+++ b/config.sub
|
|
@@ -216,7 +216,8 @@
|
|
# Recognize the basic CPU types without company name.
|
|
# Some are omitted here because they have special meanings below.
|
|
tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
|
|
- | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \
|
|
+ | aarch64 \
|
|
+ | arm | arme[lb] | arm[bl]e | armv* | strongarm | xscale \
|
|
| pyramid | mn10200 | mn10300 | tron | a29k \
|
|
| 580 | i960 | h8300 \
|
|
| x86 | ppcbe | mipsbe | mipsle | shbe | shle \
|
|
@@ -259,6 +260,7 @@
|
|
# FIXME: clean up the formatting here.
|
|
vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
|
|
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
|
|
+ | aarch64-* \
|
|
| arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
|
|
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
|
|
| power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
|
|
@@ -1005,7 +1007,7 @@
|
|
# The portable systems comes first.
|
|
# Each alternative MUST END IN A *, to match a version number.
|
|
# -sysv* is not here because it comes later, after sysvr4.
|
|
- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
|
+ -gnu* | -android* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|