kdepimpi: gcc syntax fix.
authorMichael Krelin <hacker@klever.net>
Fri, 26 Oct 2007 14:21:32 +0000 (14:21 +0000)
committerMichael Krelin <hacker@klever.net>
Fri, 26 Oct 2007 14:21:32 +0000 (14:21 +0000)
packages/kdepimpi/files/gcc42.patch [new file with mode: 0644]
packages/kdepimpi/kdepimpi_2.2.7.bb

diff --git a/packages/kdepimpi/files/gcc42.patch b/packages/kdepimpi/files/gcc42.patch
new file mode 100644 (file)
index 0000000..30e425a
--- /dev/null
@@ -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
index 7252d0a..b8e4345 100644 (file)
@@ -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