Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2007 19:43:14 +0400
From:      Alex Keda <admin@lissyara.su>
To:        ports@FreeBSD.org
Subject:   [Fwd: Cannot compile desktopbsd-tools on x64, FreeBSD-CURRENT]
Message-ID:  <46E80912.9080205@lissyara.su>

next in thread | raw e-mail | index | archive | help

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46E80912.9080205>