summaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-24 14:00:53 +0000
committerjoerg <joerg>2011-11-24 14:00:53 +0000
commitb266bff0d19e5191b1a5921e074532e2194e0229 (patch)
tree57a505db3845216a909951dca1271d035bd6e807 /graphics/kphotoalbum/patches
parent4625544e784f10807d3806856582866016de4425 (diff)
downloadpkgsrc-b266bff0d19e5191b1a5921e074532e2194e0229.tar.gz
Fix build with modern GCC
Diffstat (limited to 'graphics/kphotoalbum/patches')
-rw-r--r--graphics/kphotoalbum/patches/patch-src_MainWindow_Window.cpp12
-rw-r--r--graphics/kphotoalbum/patches/patch-src_Utilities_Set.cpp22
2 files changed, 34 insertions, 0 deletions
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)