[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    kdenetwork 3.5 branch doesn't compile
From:       Giovanni Venturi <giovanni () ksniffer ! org>
Date:       2008-04-04 17:36:11
Message-ID: 200804041936.16145.giovanni () ksniffer ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Hello,
I was compiling KDE 3.5 from SVN branch and I got compiling problems with 
kdenetwork cause of a different definition in krfb/libvncserver/rfb.h of the 
type CARD32 respect the one defined into /usr/include/X11/Xmd.h .
The attached patch fix the problem. Is it ok if I commit it?
Giovanni
-- 
A KDE Italian translator and KSniffer core developer
Slackware GNU/Linux current version - kernel 2.6.24.4
KSniffer Project - http://www.ksniffer.org/

["rfb.h.diff" (text/x-diff)]

Index: krfb/libvncserver/rfb.h
===================================================================
--- krfb/libvncserver/rfb.h	(revisione 793595)
+++ krfb/libvncserver/rfb.h	(copia locale)
@@ -40,7 +40,14 @@
 /* TODO: this stuff has to go into autoconf */
 typedef unsigned char CARD8;
 typedef unsigned short CARD16;
+
+#ifdef LONG64
+typedef unsigned long CARD64;
 typedef unsigned int CARD32;
+#else
+typedef unsigned long CARD32;
+#endif
+
 typedef CARD32 Pixel;
 /* typedef CARD32 KeySym; */
 #ifndef __osf__

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic