Bug#424887: vbetool: FTBFS on kfreebsd-amd64

2007-05-17 Thread Petr Salinger
>> +#if !(defined(__FreeBSD_kernel__) && defined(__x86_64__)) >> ioperm(0, 1024, 1); >> +#endif >> iopl(3); > > Does the code work with this change? I'd be suspicious... In fact ioperm() is completely redundant here even on linux/i386. ioperm() permits access to SOME ports, but fol

Bug#424887: vbetool: FTBFS on kfreebsd-amd64

2007-05-17 Thread Matthew Garrett
On Thu, May 17, 2007 at 06:42:15PM +0200, Petr Salinger wrote: > --- vbetool-0.7/vbetool.c > +++ vbetool-0.7/vbetool.c > @@ -42,7 +42,9 @@ > exit(1); > } > > +#if !(defined(__FreeBSD_kernel__) && defined(__x86_64__)) > ioperm(0, 1024, 1); > +#endif Does the code w

Bug#424887: vbetool: FTBFS on kfreebsd-amd64

2007-05-17 Thread Petr Salinger
Package: vbetool Severity: important Version: 0.7-1.1 Tags: patch Hi, the current version fails to build on kfreebsd-amd64. It needs small tweak, as ioperm() is not available. It would also be nice if you can ask upstream to include this change. Thanks in advance Pet