summaryrefslogtreecommitdiff
path: root/net-im/kopete-kde4
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-06-04 22:32:07 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-06-04 22:32:07 +0000
commit7864d96080b514cbae0a986f393ba499a8d6d48f (patch)
tree5fff5e76a3a2eca111533b783de0908665d3d4c2 /net-im/kopete-kde4
parentDocument vulnerabilities in www/chromium < 27.0.1453.110 (diff)
Add upstream patch that should fix the build with at least clang 3.3.
Kudos to swills@ for his 10-CURRENT tinderbox :-)
Notes
Notes: svn path=/head/; revision=319934
Diffstat (limited to 'net-im/kopete-kde4')
-rw-r--r--net-im/kopete-kde4/files/patch-kopete__protocols__gadu__gadueditcontact.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/net-im/kopete-kde4/files/patch-kopete__protocols__gadu__gadueditcontact.h b/net-im/kopete-kde4/files/patch-kopete__protocols__gadu__gadueditcontact.h
new file mode 100644
index 000000000000..8649b2550434
--- /dev/null
+++ b/net-im/kopete-kde4/files/patch-kopete__protocols__gadu__gadueditcontact.h
@@ -0,0 +1,35 @@
+------------------------------------------------------------------------
+r1356912 | rkcosta | 2013-06-05 01:18:59 +0300 (Wed, 05 Jun 2013) | 8 lines
+
+Forward-declaring a nested class is not valid C++.
+
+Fix the build with at least clang 3.3 by actually including
+gaducontactlist.h. While just removing the forward declaration also works
+since all places which include gadueditcontact.h include gaducontactlist.h
+first), it's better to be on the safe side and not rely on that.
+
+
+
+Index: kopete/protocols/gadu/gadueditcontact.h
+===================================================================
+--- kopete/protocols/gadu/gadueditcontact.h (revision 1356911)
++++ kopete/protocols/gadu/gadueditcontact.h (revision 1356912)
+@@ -23,6 +23,8 @@
+ #ifndef GADUEDITCONTACT_H
+ #define GADUEDITCONTACT_H
+
++#include "gaducontactlist.h"
++
+ #include <kdialog.h>
+ //Added by qt3to4:
+ #include <QLabel>
+@@ -32,7 +34,6 @@
+ class QLabel;
+ class QWidget;
+ class GaduContact;
+-class GaduContactsList::ContactLine;
+ class Q3ListViewItem;
+
+ class GaduEditContact : public KDialog
+
+------------------------------------------------------------------------