summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/kdepimpi/files/gcc42.patch13
-rw-r--r--packages/kdepimpi/kdepimpi_2.2.7.bb3
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/kdepimpi/files/gcc42.patch b/packages/kdepimpi/files/gcc42.patch
new file mode 100644
index 0000000000..30e425aeda
--- /dev/null
+++ b/packages/kdepimpi/files/gcc42.patch
@@ -0,0 +1,13 @@
+diff --git a/kabc/secrecy.h b/kabc/secrecy.h
+index 21e22f2..3011ae9 100644
+--- a/kabc/secrecy.h
++++ b/kabc/secrecy.h
+@@ -98,5 +98,8 @@ private:
+ int mType;
+ };
+
++QDataStream& operator<<(QDataStream& s,const Secrecy &secrecy);
++QDataStream& operator>>(QDataStream& s,Secrecy &secrecy);
++
+ }
+ #endif
diff --git a/packages/kdepimpi/kdepimpi_2.2.7.bb b/packages/kdepimpi/kdepimpi_2.2.7.bb
index 7252d0a6f1..b8e4345b46 100644
--- a/packages/kdepimpi/kdepimpi_2.2.7.bb
+++ b/packages/kdepimpi/kdepimpi_2.2.7.bb
@@ -1,6 +1,7 @@
SRC_URI = "${SOURCEFORGE_MIRROR}/kdepimpi/kdepimpi-${PV}.tar.gz \
file://gcc4.patch;patch=1 \
- file://qt-mt.patch;patch=1"
+ file://qt-mt.patch;patch=1 \
+ file://gcc42.patch;patch=1"
require kdepimpi-base.inc