Date: Tue, 4 Mar 2003 10:20:26 -0700 (MST) From: <fred@clift.org> To: <freebsd-alpha@freebsd.org> Subject: patch to make 4.3.0 build on FreeBSD 5.0-Current alpha Message-ID: <20030304101407.G78564-100000@vespa.dmz.orem.verio.net>
next in thread | raw e-mail | index | archive | help
As some of you may remember, I have had problems off and on with X on my miata. I think I've resolved some of these by taking the video card out of the 64-bit pci slots - Xv4 is much better behaved with the card in a 32-bit slot. So much for my recent advice on using the 64-bit slots :). Additionally, I recently downloaded the new 4.3.0 sources and tried to build them (ie not using ports - Eric Anholt, the X ports maintainer is a busy guy and will probably not have a port for this for this for at least a while). So 4.3.0, as it is distributed, doesn't build on FreeBSD alpha (I run -current, but I think the same problems would exist for -stable). I've sent this patch to the devel@xfree86.org mailing list, but figure I'd pass it on here for the time being if any of you are anxious as I was. The following patch makes the build work for me - it runs ok with my matrox millenium II card (though my virtual consoles are permanently blank after X runs the first time, until next reboot - anyone have ideas on that?) It does 3 things -- it makes a prototype for a function that doesn't have one (I couldn't find a header file with this, so I just include it here -- seems ugly), it fixes a problem with system include files (needed an extra one) and it fixes some broken #ifdef'd code (the #endif is several lines past where it should be, making the file have systax errors (the function never finds a final closing '}'). ----------------------------------------------------------------------------- # diff xc/programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c xc.working/programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c 35a36,38 > # ifdef __FreeBSD__ > # include <machine/sysarch.h> > # endif 38a42 > 53a58,59 > axpDevice bsdGetAXP(void); > 262a269 > #endif 266d272 < #endif ----------------------------------------------------------------------------- Fred Clift To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030304101407.G78564-100000>