tmux: add missing patches
This commit is contained in:
parent
7236f3a27e
commit
091bb117b0
@ -1,8 +1,8 @@
|
||||
Index: tmux-3.2a/configure.ac
|
||||
Index: tmux-3.3a/configure.ac
|
||||
===================================================================
|
||||
--- tmux-3.2a.orig/configure.ac
|
||||
+++ tmux-3.2a/configure.ac
|
||||
@@ -150,40 +150,12 @@ AC_REPLACE_FUNCS([ \
|
||||
--- tmux-3.3a.orig/configure.ac
|
||||
+++ tmux-3.3a/configure.ac
|
||||
@@ -173,41 +173,12 @@ AC_REPLACE_FUNCS([ \
|
||||
strlcpy \
|
||||
strndup \
|
||||
strsep \
|
||||
@ -15,11 +15,12 @@ Index: tmux-3.2a/configure.ac
|
||||
-# Check if strtonum works.
|
||||
-AC_MSG_CHECKING([for working strtonum])
|
||||
-AC_RUN_IFELSE([AC_LANG_PROGRAM(
|
||||
- [#include <stdlib.h>],
|
||||
- [return (strtonum("0", 0, 1, NULL) == 0 ? 0 : 1);]
|
||||
- )],
|
||||
- [AC_DEFINE(HAVE_STRTONUM) AC_MSG_RESULT(yes)],
|
||||
- [AC_LIBOBJ(strtonum) AC_MSG_RESULT(no)]
|
||||
- [#include <stdlib.h>],
|
||||
- [return (strtonum("0", 0, 1, NULL) == 0 ? 0 : 1);]
|
||||
- )],
|
||||
- [AC_DEFINE(HAVE_STRTONUM) AC_MSG_RESULT(yes)],
|
||||
- [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
|
||||
|
Loading…
x
Reference in New Issue
Block a user