Subject: pkg/35044: sysutils/915resolution (and perhaps 855resolution) works on amd64, too
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <blair.sadewitz@NetBSD.org>
List: pkgsrc-bugs
Date: 11/13/2006 01:25:00
>Number: 35044
>Category: pkg
>Synopsis: sysutils/915resolution (and perhaps 855resolution) works on amd64, too
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Nov 13 01:25:00 +0000 2006
>Originator: Blair Sadewitz
>Release: 4.99.3
>Organization:
>Environment:
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
>Description:
This handy utility works on amd64--with a trivial change, though the package claims this is for i386 only.
>How-To-Repeat:
Try to build sysutils/915resolution on amd64.
>Fix:
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.