summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/cufflinks/files/cufflinks-2.2.1-gcc6.patch')
-rw-r--r--sci-biology/cufflinks/files/cufflinks-2.2.1-gcc6.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-biology/cufflinks/files/cufflinks-2.2.1-gcc6.patch b/sci-biology/cufflinks/files/cufflinks-2.2.1-gcc6.patch
new file mode 100644
index 000000000000..6ee9bcf456d4
--- /dev/null
+++ b/sci-biology/cufflinks/files/cufflinks-2.2.1-gcc6.patch
@@ -0,0 +1,14 @@
+--- a/src/lemon/error.h
++++ b/src/lemon/error.h
+@@ -67,9 +67,9 @@
+ }
+
+ ExceptionMember& operator=(const ExceptionMember& copy) {
+- if (ptr.get() == 0) return;
++ if (ptr.get() == 0) return *this;
+ try {
+- if (!copy.valid()) return;
++ if (!copy.valid()) return *this;
+ *ptr = copy.get();
+ } catch (...) {}
+ }