Hi,

the current patch is not enough, we have the same issue on GNU/Hurd as
in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388475;msg=32 

in 38_kbsd.dpatch, there is this:

-#if defined(LINUX)
+#if defined(LINUX) || (defined(__GLIBC__) && defined(__FreeBSD_kernel__))

Petr, is this really needed (it makes this code not be executed
GNU/Hurd, I suggest to change it to

#if defined(LINUX) || defined(__GLIBC__)

otherwise.

We also need the set OS_ARCH in configure so that this filter in 
xpcom/reflect/xptcall/src/md/unix/Makefile.in matches:

-ifneq (,$(filter Linux,$(OS_ARCH)))
+ifneq (,$(filter Linux GNU_%,$(OS_ARCH)))

Something like this is needed:

@@ -5035,17 +4904,28 @@
     OS_RELEASE=
     OS_TEST="${target_cpu}"
     case "${target_os}" in
-        linux*)       OS_ARCH=Linux ;;
+        linux*)       OS_ARCH=Linux OS_TARGET=Linux;;
+        kfreebsd*-gnu) OS_ARCH=GNU_kFreeBSD ;;
+        gnu*)         OS_ARCH=GNU_Hurd ;;


Those aren't clean patches as I hacked around a bit in the build tree,
but you get the idea (I can send something later on)

With this, the xulrunner test-application from
http://benjamin.smedbergs.us/xulrunner/mybrowser-0.2.2.xulapp starts up
and has a responsive UI.  Local file:/// URIs render fine.  However,
remote http:// URIs provoke an instant "Connection refused" currently,
tcpdump shows no real traffic on the network, we need to look into this.


cheers,

Michael


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

Reply via email to