diff options
author | rakuco <rakuco@FreeBSD.org> | 2013-06-05 06:32:07 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2013-06-05 06:32:07 +0800 |
commit | 4bff6b4ae96b73837ddd49471f5518b9f35376db (patch) | |
tree | 5fff5e76a3a2eca111533b783de0908665d3d4c2 /net-im | |
parent | 2a7ad563b1da63fae503d42d1b7ece68552e9ff4 (diff) | |
download | freebsd-ports-gnome-4bff6b4ae96b73837ddd49471f5518b9f35376db.tar.gz freebsd-ports-gnome-4bff6b4ae96b73837ddd49471f5518b9f35376db.tar.zst freebsd-ports-gnome-4bff6b4ae96b73837ddd49471f5518b9f35376db.zip |
Add upstream patch that should fix the build with at least clang 3.3.
Kudos to swills@ for his 10-CURRENT tinderbox :-)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/kopete-kde4/files/patch-kopete__protocols__gadu__gadueditcontact.h | 35 |
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 + +------------------------------------------------------------------------ |