tmux: add missing patches

This commit is contained in:
Đoàn Trần Công Danh 2022-06-13 20:25:33 +07:00
parent 7236f3a27e
commit 091bb117b0

View file

@ -1,8 +1,8 @@
Index: tmux-3.2a/configure.ac Index: tmux-3.3a/configure.ac
=================================================================== ===================================================================
--- tmux-3.2a.orig/configure.ac --- tmux-3.3a.orig/configure.ac
+++ tmux-3.2a/configure.ac +++ tmux-3.3a/configure.ac
@@ -150,40 +150,12 @@ AC_REPLACE_FUNCS([ \ @@ -173,41 +173,12 @@ AC_REPLACE_FUNCS([ \
strlcpy \ strlcpy \
strndup \ strndup \
strsep \ strsep \
@ -15,11 +15,12 @@ Index: tmux-3.2a/configure.ac
-# Check if strtonum works. -# Check if strtonum works.
-AC_MSG_CHECKING([for working strtonum]) -AC_MSG_CHECKING([for working strtonum])
-AC_RUN_IFELSE([AC_LANG_PROGRAM( -AC_RUN_IFELSE([AC_LANG_PROGRAM(
- [#include <stdlib.h>], - [#include <stdlib.h>],
- [return (strtonum("0", 0, 1, NULL) == 0 ? 0 : 1);] - [return (strtonum("0", 0, 1, NULL) == 0 ? 0 : 1);]
- )], - )],
- [AC_DEFINE(HAVE_STRTONUM) AC_MSG_RESULT(yes)], - [AC_DEFINE(HAVE_STRTONUM) AC_MSG_RESULT(yes)],
- [AC_LIBOBJ(strtonum) AC_MSG_RESULT(no)] - [AC_LIBOBJ(strtonum) AC_MSG_RESULT(no)],
- [AC_LIBOBJ(strtonum) AC_MSG_RESULT(no)]
-) -)
- -
-# Clang sanitizers wrap reallocarray even if it isn't available on the target -# Clang sanitizers wrap reallocarray even if it isn't available on the target