diff options
author | Gonzalo Exequiel Pedone | 2025-03-18 23:47:50 -0300 |
---|---|---|
committer | Gonzalo Exequiel Pedone | 2025-03-18 23:47:50 -0300 |
commit | a423bc6fca3d99a9bcdbdbe12a0c1db52fd2c1f6 (patch) | |
tree | b5bf70c2ff4ef9998be96fb3b271a0b8a8dc2458 /0008-Fix-ncurses-headers.patch | |
download | aur-android-riscv64-mariadb.tar.gz |
Package updated to 11.7.2.
Diffstat (limited to '0008-Fix-ncurses-headers.patch')
-rw-r--r-- | 0008-Fix-ncurses-headers.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/0008-Fix-ncurses-headers.patch b/0008-Fix-ncurses-headers.patch new file mode 100644 index 000000000000..eb084e3c2d75 --- /dev/null +++ b/0008-Fix-ncurses-headers.patch @@ -0,0 +1,36 @@ +--- a/client/mysql.cc ++++ b/client/mysql.cc +@@ -61,31 +61,8 @@ + #include "client_metadata.h" + + extern "C" { +-#if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H) +-#include <curses.h> +-#include <term.h> +-#else +-#if defined(HAVE_TERMIOS_H) +-#include <termios.h> +-#include <unistd.h> +-#elif defined(HAVE_TERMBITS_H) +-#include <termbits.h> +-#elif defined(HAVE_ASM_TERMBITS_H) && (!defined __GLIBC__ || !(__GLIBC__ > 2 || __GLIBC__ == 2 && __GLIBC_MINOR__ > 0)) +-#include <asm/termbits.h> // Standard linux +-#endif +-#undef VOID +-#if defined(HAVE_TERMCAP_H) +-#include <termcap.h> +-#else +-#ifdef HAVE_CURSES_H +-#include <curses.h> +-#endif +-#undef SYSV // hack to avoid syntax error +-#ifdef HAVE_TERM_H +-#include <term.h> +-#endif +-#endif +-#endif /* defined(HAVE_CURSES_H) && defined(HAVE_TERM_H) */ ++#include <ncursesw/curses.h> ++#include <ncursesw/term.h> + + #undef bcmp // Fix problem with new readline + #if !defined(_WIN32) |