>> +#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
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
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
3 matches
Mail list logo