Package: swt-gtk
Version: 3.2.1-3
Severity: wishlist
Tags: patch

Hello,

when building 'swt-gtk' on ppc64/unstable, I get the following error:

xpcom.cpp: In function 'jint 
Java_org_eclipse_swt_internal_mozilla_XPCOM_nsID_1new(JNIEnv*, _jclass*)':
xpcom.cpp:2234: error: cast from 'nsID*' to 'jint' loses precision
make[2]: *** [xpcom.o] Error 1
make[2]: Leaving directory `/swt-gtk-3.2.1'

With the attached patch which adds ppc64 to the list of 64-bit architectures
'swt-gtk' can be compiled on ppc64.

BTW, thank you for adding 64-bit support to the swt-gtk package!

Regards
Andreas Jochens

diff -urN ../tmp-orig/swt-gtk-3.2.1/debian/rules ./debian/rules
--- ../tmp-orig/swt-gtk-3.2.1/debian/rules      2006-11-30 10:46:54.000000000 
+0000
+++ ./debian/rules      2006-11-30 10:46:48.000000000 +0000
@@ -3,6 +3,7 @@
 alpha := 64
 amd64 := 64
 ia64 := 64
+ppc64 := 64
 DEB_PATCHDIRS = debian/patches/$($(DEB_HOST_ARCH))
 
 DEB_DH_MAKESHLIBS_ARGS_ALL := -Xjni


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to