summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-24 14:13:19 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-24 14:13:19 +0000
commit2935f479eedafd6551c6dfae2dac41f17f3f1c93 (patch)
tree2a0dcd3c95a6fab793fc9fdee45ed14353fd92f4 /editors
parent9152d30ab674abc51e12dc9fb0177a15f2cd5059 (diff)
downloadpkgsrc-2935f479eedafd6551c6dfae2dac41f17f3f1c93.tar.gz
Fix build with newer GCC
Diffstat (limited to 'editors')
-rw-r--r--editors/mlview/distinfo4
-rw-r--r--editors/mlview/patches/patch-src_mlview-ustring.cc13
-rw-r--r--editors/mlview/patches/patch-src_mlview-validator.cc12
3 files changed, 28 insertions, 1 deletions
diff --git a/editors/mlview/distinfo b/editors/mlview/distinfo
index b860bb7715f..d4a0a27c6b1 100644
--- a/editors/mlview/distinfo
+++ b/editors/mlview/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2009/03/24 16:22:57 abs Exp $
+$NetBSD: distinfo,v 1.5 2011/11/24 14:13:19 joerg Exp $
SHA1 (mlview-0.9.0.tar.bz2) = 1e2d8e03747ffaaacbf9db15e8a7dabf573cee22
RMD160 (mlview-0.9.0.tar.bz2) = 6b810b478dbdb76dd4bb28fe627e455410f89ea7
@@ -9,3 +9,5 @@ SHA1 (patch-ac) = 64ef210c50aee3b9a424850d42749d84ca177778
SHA1 (patch-ad) = bbc891000735b51873d1d0933e4bb329b7cd490e
SHA1 (patch-ae) = c3ae0179ffc01facfa6114268659a367a94e70a8
SHA1 (patch-af) = 7634baf770bc177c3d9a9bcca9924880c4fd08da
+SHA1 (patch-src_mlview-ustring.cc) = 0c141d13fe86782aaeb067873c3b89cdb6cadd20
+SHA1 (patch-src_mlview-validator.cc) = af10ed1f94a483fc1c66266d12c2251a6be3abac
diff --git a/editors/mlview/patches/patch-src_mlview-ustring.cc b/editors/mlview/patches/patch-src_mlview-ustring.cc
new file mode 100644
index 00000000000..69604820014
--- /dev/null
+++ b/editors/mlview/patches/patch-src_mlview-ustring.cc
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_mlview-ustring.cc,v 1.1 2011/11/24 14:13:19 joerg Exp $
+
+--- src/mlview-ustring.cc.orig 2011-11-24 02:25:01.000000000 +0000
++++ src/mlview-ustring.cc
+@@ -59,7 +59,7 @@ UString::UString (const Glib::ustring &a
+ UString::~UString ()
+ {}
+
+-UString::UString&
++UString&
+ UString::operator= (const char *a_cstr)
+ {
+ if (!a_cstr)
diff --git a/editors/mlview/patches/patch-src_mlview-validator.cc b/editors/mlview/patches/patch-src_mlview-validator.cc
new file mode 100644
index 00000000000..e237145f27b
--- /dev/null
+++ b/editors/mlview/patches/patch-src_mlview-validator.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_mlview-validator.cc,v 1.1 2011/11/24 14:13:19 joerg Exp $
+
+--- src/mlview-validator.cc.orig 2011-11-24 02:26:56.000000000 +0000
++++ src/mlview-validator.cc
+@@ -25,6 +25,7 @@
+
+ #include "mlview-validator.h"
+ #include "mlview-safe-ptr-utils.h"
++#include <memory>
+
+ #define MESSAGE_LINE_LENGTH 55
+ namespace mlview