Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 788301
Collapse All | Expand All

(-)a/dev-games/openscenegraph-openmw/files/openscenegraph-3.4-gcc11.patch (+26 lines)
Line 0 Link Here
1
diff --git a/include/osgDB/ObjectCache b/include/osgDB/ObjectCache
2
index 01b3f05..0d8b5be 100644
3
--- a/include/osgDB/ObjectCache
4
+++ b/include/osgDB/ObjectCache
5
@@ -72,7 +72,7 @@ class OSGDB_EXPORT ObjectCache : public osg::Referenced
6
 
7
         class ClassComp {
8
         public:
9
-            bool operator() (const ObjectCache::FileNameOptionsPair& lhs, const ObjectCache::FileNameOptionsPair& rhs);
10
+            bool operator() (const ObjectCache::FileNameOptionsPair& lhs, const ObjectCache::FileNameOptionsPair& rhs) const;
11
         };
12
 
13
         typedef std::pair<osg::ref_ptr<osg::Object>, double >           ObjectTimeStampPair;
14
diff --git a/src/osgDB/ObjectCache.cpp b/src/osgDB/ObjectCache.cpp
15
index 11ca07c..740aa2e 100644
16
--- a/src/osgDB/ObjectCache.cpp
17
+++ b/src/osgDB/ObjectCache.cpp
18
@@ -16,7 +16,7 @@
19
 
20
 using namespace osgDB;
21
 
22
-bool ObjectCache::ClassComp::operator() (const ObjectCache::FileNameOptionsPair& lhs, const ObjectCache::FileNameOptionsPair& rhs)
23
+bool ObjectCache::ClassComp::operator() (const ObjectCache::FileNameOptionsPair& lhs, const ObjectCache::FileNameOptionsPair& rhs) const
24
 {
25
     // check if filename are the same
26
     if (lhs.first < rhs.first) return true;
(-)a/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.4_p20200425-r100.ebuild (-2 / +2 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=7
4
EAPI=7
Lines 87-92 PATCHES=( Link Here
87
	"${FILESDIR}"/openscenegraph-3.4-cmake.patch
87
	"${FILESDIR}"/openscenegraph-3.4-cmake.patch
88
	"${FILESDIR}"/openscenegraph-3.5.1-jpeg-9.patch
88
	"${FILESDIR}"/openscenegraph-3.5.1-jpeg-9.patch
89
	"${FILESDIR}"/openscenegraph-3.6.3-docdir.patch
89
	"${FILESDIR}"/openscenegraph-3.6.3-docdir.patch
90
	"${FILESDIR}"/openscenegraph-3.4-gcc11.patch
90
)
91
)
91
92
92
pkg_setup() {
93
pkg_setup() {
93
- 

Return to bug 788301