summaryrefslogtreecommitdiff
path: root/x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch')
-rw-r--r--x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch b/x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch
new file mode 100644
index 000000000000..709d61b29a6a
--- /dev/null
+++ b/x11-misc/evolvotron/files/evolvotron-0.6.3-gcc6.patch
@@ -0,0 +1,15 @@
+Description: Fix compilation with GCC6 by making implict conversion to bool explicit
+Author: Axel Beckert <abe@debian.org>
+Bug-Debian: https://bugs.debian.org/811660
+
+--- a/libevolvotron/mutatable_image_computer.h
++++ b/libevolvotron/mutatable_image_computer.h
+@@ -193,7 +193,7 @@
+ //! Indicate whether computation us taking place (only intended for counting outstanding threads).
+ bool active() const
+ {
+- return _task;
++ return (bool)_task;
+ }
+ };
+