From 091bb117b0b5e82f8686bf26335f086c7c31b572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 13 Jun 2022 20:25:33 +0700 Subject: [PATCH] tmux: add missing patches --- srcpkgs/tmux/patches/reallocarray.patch | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/srcpkgs/tmux/patches/reallocarray.patch b/srcpkgs/tmux/patches/reallocarray.patch index 4e93acf7f31..df18048bd34 100644 --- a/srcpkgs/tmux/patches/reallocarray.patch +++ b/srcpkgs/tmux/patches/reallocarray.patch @@ -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 ], -- [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 ], +- [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