mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
tmux: add missing patches
This commit is contained in:
parent
7236f3a27e
commit
091bb117b0
1 changed files with 10 additions and 9 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue