From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 818BA15808B for ; Tue, 22 Mar 2022 18:16:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1578E07ED; Tue, 22 Mar 2022 18:16:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B499E07ED for ; Tue, 22 Mar 2022 18:16:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 492A7342DD8 for ; Tue, 22 Mar 2022 18:16:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6807D2EB for ; Tue, 22 Mar 2022 18:16:27 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1647972976.326082ed7b1ff11df336794facf472191101d0cd.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/, app-misc/tmux/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/tmux/files/tmux-3.2a-Fix-crosscompiling-Marco-A-L-Barbosa.patch app-misc/tmux/tmux-3.2a.ebuild X-VCS-Directories: app-misc/tmux/files/ app-misc/tmux/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 326082ed7b1ff11df336794facf472191101d0cd X-VCS-Branch: master Date: Tue, 22 Mar 2022 18:16:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f8880701-8094-4c40-b69d-a537f35c0fc0 X-Archives-Hash: 9dcb694acc73fde3025a4eeb9d652675 commit: 326082ed7b1ff11df336794facf472191101d0cd Author: Matt Turner gentoo org> AuthorDate: Tue Mar 22 18:15:20 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue Mar 22 18:16:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326082ed app-misc/tmux: Add patch to fix cross compiling Signed-off-by: Matt Turner gentoo.org> ...3.2a-Fix-crosscompiling-Marco-A-L-Barbosa.patch | 24 ++++++++++++++++++++++ app-misc/tmux/tmux-3.2a.ebuild | 1 + 2 files changed, 25 insertions(+) diff --git a/app-misc/tmux/files/tmux-3.2a-Fix-crosscompiling-Marco-A-L-Barbosa.patch b/app-misc/tmux/files/tmux-3.2a-Fix-crosscompiling-Marco-A-L-Barbosa.patch new file mode 100644 index 000000000000..331ffd7b6eb9 --- /dev/null +++ b/app-misc/tmux/files/tmux-3.2a-Fix-crosscompiling-Marco-A-L-Barbosa.patch @@ -0,0 +1,24 @@ +From b1a8c0fe022e99cffb0fb4f321740464f35bc6b9 Mon Sep 17 00:00:00 2001 +From: Nicholas Marriott +Date: Tue, 22 Jun 2021 12:16:48 +0100 +Subject: [PATCH] Fix crosscompiling, Marco A L Barbosa. + +--- + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure.ac b/configure.ac +index f6bdd3c7..30b4d370 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -160,6 +160,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM( + [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)] + ) + +-- +2.34.1 + diff --git a/app-misc/tmux/tmux-3.2a.ebuild b/app-misc/tmux/tmux-3.2a.ebuild index 5e9de30cf012..dc9fe95fd7e4 100644 --- a/app-misc/tmux/tmux-3.2a.ebuild +++ b/app-misc/tmux/tmux-3.2a.ebuild @@ -44,6 +44,7 @@ PATCHES=( "${FILESDIR}/${PN}-2.4-flags.patch" # upstream fixes (can be removed with next version bump) + "${FILESDIR}"/${P}-Fix-crosscompiling-Marco-A-L-Barbosa.patch ) src_prepare() {