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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 78C4D138359 for ; Sat, 8 Aug 2020 09:04:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6388CE0B50; Sat, 8 Aug 2020 09:04:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CA9BE0B50 for ; Sat, 8 Aug 2020 09:04:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C9EF34F525 for ; Sat, 8 Aug 2020 09:04:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A98B72EE for ; Sat, 8 Aug 2020 09:04:34 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1596877443.c680482145f31b0e20aae17bb9fbb2984e102aae.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/spdlog/files/, dev-libs/spdlog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/spdlog/files/spdlog-1.6.1-tests-fix.patch dev-libs/spdlog/spdlog-1.6.1-r1.ebuild X-VCS-Directories: dev-libs/spdlog/files/ dev-libs/spdlog/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: c680482145f31b0e20aae17bb9fbb2984e102aae X-VCS-Branch: master Date: Sat, 8 Aug 2020 09:04:34 +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: 9e57be5f-d68e-47e3-81ad-6f1740efb723 X-Archives-Hash: 8a50b4da8073d5ac3386d11ece3a6afa commit: c680482145f31b0e20aae17bb9fbb2984e102aae Author: David Roman gmail com> AuthorDate: Sun Jul 12 14:18:44 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Aug 8 09:04:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6804821 dev-libs/spdlog: fix tests segfault Closes: https://bugs.gentoo.org/731238 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: David Roman gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16678 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/spdlog/files/spdlog-1.6.1-tests-fix.patch | 13 +++++++++++++ dev-libs/spdlog/spdlog-1.6.1-r1.ebuild | 1 + 2 files changed, 14 insertions(+) diff --git a/dev-libs/spdlog/files/spdlog-1.6.1-tests-fix.patch b/dev-libs/spdlog/files/spdlog-1.6.1-tests-fix.patch new file mode 100644 index 00000000000..8a6aa8020f7 --- /dev/null +++ b/dev-libs/spdlog/files/spdlog-1.6.1-tests-fix.patch @@ -0,0 +1,13 @@ +diff --git a/include/spdlog/fmt/bin_to_hex.h b/include/spdlog/fmt/bin_to_hex.h +index e974cf51..5393dcac 100644 +--- a/include/spdlog/fmt/bin_to_hex.h ++++ b/include/spdlog/fmt/bin_to_hex.h +@@ -92,7 +92,7 @@ struct formatter> + auto parse(ParseContext &ctx) -> decltype(ctx.begin()) + { + auto it = ctx.begin(); +- while (*it && *it != '}') ++ while (it != ctx.end() && *it != '}') + { + switch (*it) + { diff --git a/dev-libs/spdlog/spdlog-1.6.1-r1.ebuild b/dev-libs/spdlog/spdlog-1.6.1-r1.ebuild index 04237834f6c..6d996c6f8ea 100644 --- a/dev-libs/spdlog/spdlog-1.6.1-r1.ebuild +++ b/dev-libs/spdlog/spdlog-1.6.1-r1.ebuild @@ -31,6 +31,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${P}-libfmt-7.0.0.patch" + "${FILESDIR}/${P}-tests-fix.patch" ) src_prepare() {