summaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-24 14:00:53 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-24 14:00:53 +0000
commit687ad893677314c34231cb563a4a65b2eb2ffa93 (patch)
tree57a505db3845216a909951dca1271d035bd6e807 /graphics/kphotoalbum
parent8adcefd38ab32bce18791d7f05db4243f344898b (diff)
downloadpkgsrc-687ad893677314c34231cb563a4a65b2eb2ffa93.tar.gz
Fix build with modern GCC
Diffstat (limited to 'graphics/kphotoalbum')
-rw-r--r--graphics/kphotoalbum/distinfo4
-rw-r--r--graphics/kphotoalbum/patches/patch-src_MainWindow_Window.cpp12
-rw-r--r--graphics/kphotoalbum/patches/patch-src_Utilities_Set.cpp22
3 files changed, 37 insertions, 1 deletions
diff --git a/graphics/kphotoalbum/distinfo b/graphics/kphotoalbum/distinfo
index 4d7156b9862..2f5d7836e72 100644
--- a/graphics/kphotoalbum/distinfo
+++ b/graphics/kphotoalbum/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.6 2009/07/11 19:36:43 hasso Exp $
+$NetBSD: distinfo,v 1.7 2011/11/24 14:00:53 joerg Exp $
SHA1 (kphotoalbum-3.1.1.tar.bz2) = 28957f177adda08caba1935e05b7e3dc20e7649e
RMD160 (kphotoalbum-3.1.1.tar.bz2) = 8bda36262a160f8f0db994698bf337ee89b95a7b
Size (kphotoalbum-3.1.1.tar.bz2) = 15503061 bytes
SHA1 (patch-aa) = 8ff3f4b51f45098c907497897f5e63c6d36bf767
SHA1 (patch-ab) = f80b02e6705b82202827a230c3a568f97eb59056
+SHA1 (patch-src_MainWindow_Window.cpp) = dec64f9c3651c7d13cb2b6402bfc86fbf27dbc28
+SHA1 (patch-src_Utilities_Set.cpp) = c8960cd10a05cebfb65570907cca41f9c2b49e13
diff --git a/graphics/kphotoalbum/patches/patch-src_MainWindow_Window.cpp b/graphics/kphotoalbum/patches/patch-src_MainWindow_Window.cpp
new file mode 100644
index 00000000000..b79ffb4cd2c
--- /dev/null
+++ b/graphics/kphotoalbum/patches/patch-src_MainWindow_Window.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_MainWindow_Window.cpp,v 1.1 2011/11/24 14:00:53 joerg Exp $
+
+--- src/MainWindow/Window.cpp.orig 2011-11-24 02:01:28.000000000 +0000
++++ src/MainWindow/Window.cpp
+@@ -108,6 +108,7 @@
+ #include <kurldrag.h>
+ #include <qclipboard.h>
+ #include <stdexcept>
++#include <typeinfo>
+
+ MainWindow::Window* MainWindow::Window::_instance = 0;
+
diff --git a/graphics/kphotoalbum/patches/patch-src_Utilities_Set.cpp b/graphics/kphotoalbum/patches/patch-src_Utilities_Set.cpp
new file mode 100644
index 00000000000..7e54c68dba7
--- /dev/null
+++ b/graphics/kphotoalbum/patches/patch-src_Utilities_Set.cpp
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_Utilities_Set.cpp,v 1.1 2011/11/24 14:00:53 joerg Exp $
+
+--- src/Utilities/Set.cpp.orig 2011-11-24 02:03:09.000000000 +0000
++++ src/Utilities/Set.cpp
+@@ -39,7 +39,7 @@ QValueList<T> Utilities::Set<T>::toList(
+ }
+
+ template <class T>
+-Utilities::Set<T>::Set<T>& Utilities::Set<T>::operator+=(const Set<T>& other)
++Utilities::Set<T>& Utilities::Set<T>::operator+=(const Set<T>& other)
+ {
+ for (typename Set<T>::const_iterator i = other.begin();
+ i != other.end(); ++i)
+@@ -48,7 +48,7 @@ Utilities::Set<T>::Set<T>& Utilities::Se
+ }
+
+ template <class T>
+-Utilities::Set<T>::Set<T>& Utilities::Set<T>::operator-=(const Set<T>& other)
++Utilities::Set<T>& Utilities::Set<T>::operator-=(const Set<T>& other)
+ {
+ for (typename Set<T>::const_iterator i = other.begin();
+ i != other.end(); ++i)