diff options
Diffstat (limited to 'x11-misc/evolvotron/files')
-rw-r--r-- | x11-misc/evolvotron/files/evolvotron-0.7.1-gcc11-predicate-decl.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-misc/evolvotron/files/evolvotron-0.7.1-gcc11-predicate-decl.patch b/x11-misc/evolvotron/files/evolvotron-0.7.1-gcc11-predicate-decl.patch new file mode 100644 index 000000000000..e21de137f746 --- /dev/null +++ b/x11-misc/evolvotron/files/evolvotron-0.7.1-gcc11-predicate-decl.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/787101 +--- a/libevolvotron/mutatable_image_computer_farm.h ++++ b/libevolvotron/mutatable_image_computer_farm.h +@@ -45,7 +45,7 @@ class MutatableImageComputerFarm + { + public: + //! Compare task priorities. +- bool operator()(const boost::shared_ptr<const MutatableImageComputerTask>& t0,const boost::shared_ptr<const MutatableImageComputerTask>& t1) ++ bool operator()(const boost::shared_ptr<const MutatableImageComputerTask>& t0,const boost::shared_ptr<const MutatableImageComputerTask>& t1) const + { + return (t0->priority() < t1->priority()); + } +@@ -56,7 +56,7 @@ class MutatableImageComputerFarm + { + public: + //! Compare task priorities. +- bool operator()(const boost::shared_ptr<const MutatableImageComputerTask>& t0,const boost::shared_ptr<const MutatableImageComputerTask>& t1) ++ bool operator()(const boost::shared_ptr<const MutatableImageComputerTask>& t0,const boost::shared_ptr<const MutatableImageComputerTask>& t1) const + { + return (t0->priority() > t1->priority()); + } |