Subject: pkg/35044: sysutils/915resolution (and perhaps 855resolution) works on amd64, too
To: None <email@example.com, firstname.lastname@example.org,>
From: None <blair.sadewitz@NetBSD.org>
Date: 11/13/2006 01:25:00
>Synopsis: sysutils/915resolution (and perhaps 855resolution) works on amd64, too
>Arrival-Date: Mon Nov 13 01:25:00 +0000 2006
>Originator: Blair Sadewitz
NetBSD woody 4.99.3 NetBSD 4.99.3 (WOODY) #2: Sun Nov 12 01:14:17 EST 2006 blair@woody:/v/build/obj/sys/arch/amd64/compile/WOODY amd64
This handy utility works on amd64--with a trivial change, though the package claims this is for i386 only.
Try to build sysutils/915resolution on amd64.
Patch the Makefile to use -lx86_64 and 915resolution.c to use x86_64_iopl() instead of i386_iopl(). I am not sure of the preferred way to do this, as I am relatively new to pkgsrc internals, so please let me know and in the future I will conform to your specifications.