From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1279084-garchives=archives.gentoo.org@lists.gentoo.org> 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 3C65213835A for <garchives@archives.gentoo.org>; Thu, 6 May 2021 13:18:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66896E09B5; Thu, 6 May 2021 13:18:57 +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 4F2C6E09B5 for <gentoo-commits@lists.gentoo.org>; Thu, 6 May 2021 13:18:57 +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 F155734090F for <gentoo-commits@lists.gentoo.org>; Thu, 6 May 2021 13:18:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58B8359C for <gentoo-commits@lists.gentoo.org>; Thu, 6 May 2021 13:18:54 +0000 (UTC) From: "Joonas Niilola" <juippis@gentoo.org> 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" <juippis@gentoo.org> Message-ID: <1620307126.c1911b70f86e3f764570bd5bd32b5c6363d540d1.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/openmw/, games-engines/openmw/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-engines/openmw/files/openmw-0.46.0-gcc11.patch games-engines/openmw/openmw-0.46.0.ebuild X-VCS-Directories: games-engines/openmw/ games-engines/openmw/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: c1911b70f86e3f764570bd5bd32b5c6363d540d1 X-VCS-Branch: master Date: Thu, 6 May 2021 13:18:54 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bc4fca42-73ff-403f-836f-8304dea173e4 X-Archives-Hash: d84f96fd3de10a7ce89c1ea3d5c05cd3 commit: c1911b70f86e3f764570bd5bd32b5c6363d540d1 Author: Alexey Sokolov <sokolov <AT> google <DOT> com> AuthorDate: Thu May 6 09:41:00 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu May 6 13:18:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1911b70 games-engines/openmw: fix build with gcc 11 Signed-off-by: Alexey Sokolov <sokolov <AT> google.com> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> .../openmw/files/openmw-0.46.0-gcc11.patch | 36 ++++++++++++++++++++++ games-engines/openmw/openmw-0.46.0.ebuild | 1 + 2 files changed, 37 insertions(+) diff --git a/games-engines/openmw/files/openmw-0.46.0-gcc11.patch b/games-engines/openmw/files/openmw-0.46.0-gcc11.patch new file mode 100644 index 00000000000..0dc3106fb3b --- /dev/null +++ b/games-engines/openmw/files/openmw-0.46.0-gcc11.patch @@ -0,0 +1,36 @@ +diff --git a/components/sceneutil/mwshadowtechnique.cpp b/components/sceneutil/mwshadowtechnique.cpp +index cb3a1b2..62cfeec 100644 +--- a/components/sceneutil/mwshadowtechnique.cpp ++++ b/components/sceneutil/mwshadowtechnique.cpp +@@ -24,6 +24,7 @@ + #include <osg/io_utils> + + #include <sstream> ++#include <limits> + + namespace { + +diff --git a/components/sceneutil/shadow.cpp b/components/sceneutil/shadow.cpp +index 035c19a..aba1b81 100644 +--- a/components/sceneutil/shadow.cpp ++++ b/components/sceneutil/shadow.cpp +@@ -4,6 +4,7 @@ + + #include <components/sceneutil/vismask.hpp> + #include <components/settings/settings.hpp> ++#include <limits> + + namespace SceneUtil + { +diff --git a/components/terrain/quadtreeworld.cpp b/components/terrain/quadtreeworld.cpp +index f998b78..e0e47dd 100644 +--- a/components/terrain/quadtreeworld.cpp ++++ b/components/terrain/quadtreeworld.cpp +@@ -3,6 +3,7 @@ + #include <osgUtil/CullVisitor> + + #include <sstream> ++#include <limits> + + #include <components/misc/constants.hpp> + #include <components/sceneutil/mwshadowtechnique.hpp> diff --git a/games-engines/openmw/openmw-0.46.0.ebuild b/games-engines/openmw/openmw-0.46.0.ebuild index ce3fb564e71..9b4a6bfa4e9 100644 --- a/games-engines/openmw/openmw-0.46.0.ebuild +++ b/games-engines/openmw/openmw-0.46.0.ebuild @@ -72,6 +72,7 @@ PATCHES=( # https://gitlab.com/OpenMW/openmw/-/merge_requests/163 "${DISTDIR}"/openmw-0.46.0-floattest.patch "${FILESDIR}"/openmw-0.46.0-floattest2.patch + "${FILESDIR}"/openmw-0.46.0-gcc11.patch ) src_prepare() {