From 65fd81700e9954c561604d8e2d4d2443c23372fc Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 25 Jun 2012 11:51:01 +0000 Subject: Fix build with clang. --- net/kdenetwork3/distinfo | 4 +++- .../patches/patch-kopete_libkopete_kopeteproperties.h | 17 +++++++++++++++++ net/kdenetwork3/patches/patch-krdc_vnc_rfbproto.c | 13 +++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 net/kdenetwork3/patches/patch-kopete_libkopete_kopeteproperties.h create mode 100644 net/kdenetwork3/patches/patch-krdc_vnc_rfbproto.c diff --git a/net/kdenetwork3/distinfo b/net/kdenetwork3/distinfo index 804ad1deb0d..9417e78469a 100644 --- a/net/kdenetwork3/distinfo +++ b/net/kdenetwork3/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.50 2011/12/11 15:50:56 dholland Exp $ +$NetBSD: distinfo,v 1.51 2012/06/25 11:51:01 joerg Exp $ SHA1 (kdenetwork-3.5.10.tar.bz2) = eb280bffaf4642bfda442cc6a9fb38dc4163b720 RMD160 (kdenetwork-3.5.10.tar.bz2) = f888f53746f1e734d3c15c09eac1c2b9c0564b20 @@ -17,4 +17,6 @@ SHA1 (patch-bb) = 4acd491934978af53ea74424ffcb5fd5c1e2706e SHA1 (patch-bc) = 8e6349eb5680fa7ac807c09d38816e744aa359c2 SHA1 (patch-bd) = 05c285a1965f5a9af03b0570ac51a1ea19d7fed0 SHA1 (patch-be) = 69eee4103409cd10dc673c3f7da3736c9505e927 +SHA1 (patch-kopete_libkopete_kopeteproperties.h) = 3428271a6840fdfb57d7aece2c6e68047c9db422 +SHA1 (patch-krdc_vnc_rfbproto.c) = 0a48d5244638a592cd000231c4b97cd669300138 SHA1 (patch-krfb_krfb_configuration_h) = ef3c84a02c03a9c24341cab9b691b68ef3c4f0cc diff --git a/net/kdenetwork3/patches/patch-kopete_libkopete_kopeteproperties.h b/net/kdenetwork3/patches/patch-kopete_libkopete_kopeteproperties.h new file mode 100644 index 00000000000..658727189a5 --- /dev/null +++ b/net/kdenetwork3/patches/patch-kopete_libkopete_kopeteproperties.h @@ -0,0 +1,17 @@ +$NetBSD: patch-kopete_libkopete_kopeteproperties.h,v 1.1 2012/06/25 11:51:01 joerg Exp $ + +--- kopete/libkopete/kopeteproperties.h.orig 2012-06-18 21:53:12.000000000 +0000 ++++ kopete/libkopete/kopeteproperties.h +@@ -18,11 +18,11 @@ + #define KOPETEPROPERTIES_H + + #include ++#include + + #include + + class QString; +-class QVariant; + class QDomElement; + + namespace Kopete diff --git a/net/kdenetwork3/patches/patch-krdc_vnc_rfbproto.c b/net/kdenetwork3/patches/patch-krdc_vnc_rfbproto.c new file mode 100644 index 00000000000..ddcebea4e2a --- /dev/null +++ b/net/kdenetwork3/patches/patch-krdc_vnc_rfbproto.c @@ -0,0 +1,13 @@ +$NetBSD: patch-krdc_vnc_rfbproto.c,v 1.1 2012/06/25 11:51:01 joerg Exp $ + +--- krdc/vnc/rfbproto.c.orig 2012-06-18 22:15:22.000000000 +0000 ++++ krdc/vnc/rfbproto.c +@@ -636,7 +636,7 @@ HandleCursorPos(unsigned int x, unsigned + void DrawCursorX11Thread(int x, int y) { + int ox, oy, ow, oh, nx, ny, nw, nh; + if (!pointerImages[0].set) +- return True; ++ return ; + imageIndex = 0; + + if (x >= si.framebufferWidth) -- cgit v1.2.3