[Fwd: Cannot compile desktopbsd-tools on x64, FreeBSD-CURRENT]

Alex Keda admin at lissyara.su
Wed Sep 12 08:43:16 PDT 2007


Тема: 	Cannot compile desktopbsd-tools on x64, FreeBSD-CURRENT
Дата: 	Wed, 12 Sep 2007 14:45:49 +0200
От: 	Urankar Mikaël <mikael.urankar at ujf-grenoble.fr>
Кому: 	admin at lissyara.su



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




More information about the freebsd-ports mailing list