Bug 160937

Summary: KDEPIM 3.5.9: akregator metakit plugin fails to build on Linux/MIPS64EL because of missing __mips64 definition
Product: [Applications] akregator Reporter: Sunil Amitkumar Janki <devel.sjanki>
Component: metakit pluginAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sunil Amitkumar Janki 2008-04-17 15:28:26 UTC
Version:           included in kdepim 3.5.9 (using KDE 3.5.9)
Installed from:    Compiled From Sources
Compiler:          gcc 4.2.3  
OS:                Linux

I get the following error in the akregator/src/mk4storage/metakit directory while building kdepim 3.5.9 on Linux/mips64el:

In file included from header.h:191,
                 from field.cpp:9:
./../include/mk4.h:205: error: conflicting declaration 'typedef long int t4_i32'
header.h:143: error: 't4_i32' has a previous declaration as 'typedef int t4_i32'

This can be solved by applying the patch below:

--- kdepim-3.5.9-orig/akregator/src/mk4storage/metakit/include/mk4.h    2006-07-22 08:14:06.000000000 +0000
+++ kdepim-3.5.9/akregator/src/mk4storage/metakit/include/mk4.h 2008-04-17 12:53:50.000000000 +0000
@@ -101,7 +101,7 @@
     // and here's the other end of the scale...
 #if !defined (_WIN32) && !defined (q4_LONG64)
 #if (defined (_PA_RISC2_0) && defined(__hpux)) || defined (__powerpc64__) || defined(__sparcv9) || \
-    defined (__x86_64__) || defined (__s390x__) || defined (__alpha) || \
+    defined (__x86_64__) || defined (__s390x__) || defined (__alpha) || defined (__mips64) || \
     (defined (__ia64) && (!defined (__HP_aCC) || defined(__LP64__)))
 #define q4_LONG64 1
 #endif
Comment 1 Allen Winter 2008-04-18 16:31:33 UTC
SVN commit 798535 by winterz:

continue compile fix for mips64
BUGS: 160937


 M  +1 -1      mk4.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=798535