Тема:   Cannot compile desktopbsd-tools on x64, FreeBSD-CURRENT
Дата:   Wed, 12 Sep 2007 14:45:49 +0200
От:     Urankar Mikaël <[EMAIL PROTECTED]>
Кому:   [EMAIL PROTECTED]



Hello,

here is the patch I use :

--- ./libdesktopbsd-ui/moddevinfo.ui.h.orig 2007-09-10 12:09:11.000000000 +0200
+++ ./libdesktopbsd-ui/moddevinfo.ui.h  2007-09-10 12:09:16.000000000 +0200
@@ -32,7 +32,7 @@

       if(dev->dd_name[0] != '\0' && dev->dd_state >= DIS_ATTACHED) {
               Device  device(dev->dd_name);
-               uint level = (uint) arg;
+               uint level = 0x000ffffff & (ulong) arg;

               /* Check the index in parents[], even if it is
                * highly unlikely that it is > 32.

Bye


_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to