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 E2F5A13835A for ; Mon, 7 Jun 2021 16:05:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EDDAE0893; Mon, 7 Jun 2021 16:05:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 5797AE088B for ; Mon, 7 Jun 2021 16:05:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 727F9340D73 for ; Mon, 7 Jun 2021 16:05:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9C4579D for ; Mon, 7 Jun 2021 16:04:59 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1623050034.099369de66cdc8a91f4e9b372bb2c38a6767a881.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/solvespace/files/, media-gfx/solvespace/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/solvespace/files/solvespace-2.3-gcc11-missing-limits-inc.patch media-gfx/solvespace/solvespace-2.3.ebuild X-VCS-Directories: media-gfx/solvespace/files/ media-gfx/solvespace/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 099369de66cdc8a91f4e9b372bb2c38a6767a881 X-VCS-Branch: master Date: Mon, 7 Jun 2021 16:04:59 +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: 1df9eff7-7eba-4382-8d92-8b259ee2e0bd X-Archives-Hash: 7d7e39a92326e84e07167151a8ee85c4 commit: 099369de66cdc8a91f4e9b372bb2c38a6767a881 Author: Sam James gentoo org> AuthorDate: Mon Jun 7 06:40:38 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 7 07:13:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=099369de media-gfx/solvespace: fix build with GCC 11 Closes: https://bugs.gentoo.org/790776 Signed-off-by: Sam James gentoo.org> .../solvespace-2.3-gcc11-missing-limits-inc.patch | 19 +++++++++++++++++++ media-gfx/solvespace/solvespace-2.3.ebuild | 7 ++++++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/media-gfx/solvespace/files/solvespace-2.3-gcc11-missing-limits-inc.patch b/media-gfx/solvespace/files/solvespace-2.3-gcc11-missing-limits-inc.patch new file mode 100644 index 00000000000..ecf02fc5c01 --- /dev/null +++ b/media-gfx/solvespace/files/solvespace-2.3-gcc11-missing-limits-inc.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/790776 +--- a/src/exportvector.cpp ++++ b/src/exportvector.cpp +@@ -4,6 +4,7 @@ + // Copyright 2008-2013 Jonathan Westhues. + //----------------------------------------------------------------------------- + #include ++#include + #include "solvespace.h" + + VectorFileWriter::~VectorFileWriter() { +--- a/src/importdxf.cpp ++++ b/src/importdxf.cpp +@@ -1,3 +1,5 @@ ++#include ++ + #include "solvespace.h" + #include "libdxfrw.h" + #include "libdwgr.h" diff --git a/media-gfx/solvespace/solvespace-2.3.ebuild b/media-gfx/solvespace/solvespace-2.3.ebuild index ca5fc5249b9..25975546f2b 100644 --- a/media-gfx/solvespace/solvespace-2.3.ebuild +++ b/media-gfx/solvespace/solvespace-2.3.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 + DXFRW_COMMIT="87ff1082f49b1286a033ac8f38fe8dde0975bb8b" DXFRW_PV="0.6.3" DXFRW_P="libdxfrw-${DXFRW_PV}-${DXFRW_COMMIT}" @@ -31,6 +32,10 @@ DEPEND="${RDEPEND} # NOTE: please keep commit hash actually when version up GIT_COMMIT_HASH="4d1e1341d926ac356b295d5cc3d61c7a6cd7d07d" +PATCHES=( + "${FILESDIR}"/${PN}-2.3-gcc11-missing-limits-inc.patch +) + src_prepare() { rm -r "extlib/libdxfrw" || die "rm extlib/libdxfrw failed" mv "${WORKDIR}/libdxfrw-${DXFRW_COMMIT}" "extlib/libdxfrw" || die "move libdxfrw-${DXFRW_COMMIT} failed"