0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-22 16:57:09 +00:00
termux-packages/packages/aalib/0003-ltconfig.patch
Robert Kirkman ab0141c44e fix(main/aalib): update patches to match Arch Linux (#21894)
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
2024-12-18 03:46:11 +01:00

21 lines
315 B
Diff

--- a/ltconfig
+++ b/ltconfig
@@ -1915,7 +1915,7 @@
esac
;;
-gnu*)
+gnu*|android*)
version_type=linux
need_lib_prefix=no
need_version=no
@@ -1984,7 +1984,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|linux-android*)
version_type=linux
need_lib_prefix=no
need_version=no