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

List:       kfm-devel
Subject:    npapi 64bit fix
From:       André_Wöbbeking <Woebbeking () kde ! org>
Date:       2007-03-20 23:30:22
Message-ID: 200703210030.23052.Woebbeking () kde ! org
[Download RAW message or body]

Hi,

can I apply the attached patch to get nspluginwrapper working on x86_64? 
It's from http://gwenole.beauchesne.info/projects/nspluginwrapper


Cheers,
André


P.S.: Please CC me, thanks.

["kdebase-3.4.2-npapi-64bit-fixes.patch" (text/x-diff)]

--- kdebase-3.4.2/nsplugins/sdk/npapi.h.npapi-64bit-fixes	2005-05-23 14:14:25.000000000 +0200
+++ kdebase-3.4.2/nsplugins/sdk/npapi.h	2006-11-13 10:49:45.000000000 +0100
@@ -58,7 +58,7 @@
 typedef unsigned short uint16;
 #endif
 #ifndef _UINT32
-#if defined(__alpha)
+#if defined(__alpha) || defined(_AIX) || defined(__x86_64__) || defined(__LP64__)
 typedef unsigned int uint32;
 #else /* __alpha */
 typedef unsigned long uint32;
@@ -68,7 +68,7 @@ typedef unsigned long uint32;
 typedef short int16;
 #endif
 #ifndef _INT32
-#if defined(__alpha) || defined(_AIX)
+#if defined(__alpha) || defined(_AIX) || defined(__x86_64__) || defined(__LP64__)
 typedef int int32;
 #else /* __alpha || _AIX */
 typedef long int32;


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

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