diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-03-16 12:23:59 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-03-16 12:23:59 +0100 |
commit | dd473e9030e32450e354d21aa871e58fec27a7cb (patch) | |
tree | 17ea7d6ce4d4b8f74a86b9df4d78bcfcd1c0397e /package/tmux/patches | |
parent | 9ee31fd65572f80ec4a1c278668a9179595504d0 (diff) |
tmux: update to 3.2a, needs locale
Diffstat (limited to 'package/tmux/patches')
-rw-r--r-- | package/tmux/patches/patch-configure_ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/tmux/patches/patch-configure_ac b/package/tmux/patches/patch-configure_ac new file mode 100644 index 000000000..1d70b17ca --- /dev/null +++ b/package/tmux/patches/patch-configure_ac @@ -0,0 +1,22 @@ +--- tmux-3.2a.orig/configure.ac 2021-06-10 10:20:51.000000000 +0200 ++++ tmux-3.2a/configure.ac 2022-03-16 12:00:53.916934376 +0100 +@@ -150,18 +150,10 @@ AC_REPLACE_FUNCS([ \ + strlcpy \ + strndup \ + strsep \ ++ strtonum \ + ]) + AC_FUNC_STRNLEN + +-# 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)] +-) + + # Clang sanitizers wrap reallocarray even if it isn't available on the target + # system. When compiled it always returns NULL and crashes the program. To |