[kde-freebsd] deskutils/kdepim4: patch for gcc44

Andriy Gapon avg at icyb.net.ua
Sun Jun 13 12:01:59 CEST 2010


The following patch is required in the latest version of deskutils/kdepim4 to
fix compilation with newer versions of GCC.
The problem is that the header in question uses type FILE but doesn't include
proper system header for it.
Also see http://gcc.gnu.org/gcc-4.3/porting_to.html

--- kleopatra/uiserver/uiserver.h.orig	2010-06-13 12:39:35.525364433 +0300
+++ kleopatra/uiserver/uiserver.h	2010-06-13 12:40:18.536998012 +0300
@@ -39,6 +39,8 @@

 #include <boost/shared_ptr.hpp>

+#include <cstdio>
+
 class QString;

 namespace Kleo {

-- 
Andriy Gapon


More information about the kde-freebsd mailing list