From owner-freebsd-current@freebsd.org Tue Mar 8 01:05:26 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08D28AC7611 for ; Tue, 8 Mar 2016 01:05:26 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DD3202D5 for ; Tue, 8 Mar 2016 01:05:25 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id u2815b7H086260 for ; Mon, 7 Mar 2016 17:05:44 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: "FreeBSD CURRENT" From: "Chris H" Subject: error: unknown type name 'd_thread_t' Date: Mon, 07 Mar 2016 17:05:44 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <7d93c469f2cbf2edd079c3e0bc7e0f58@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 01:05:26 -0000 Greetings, all. Apologies in advance, if this is better suited for freebsd-hackers@. But given this is only relevant to CURRENT, I hoped it would be OK. OK. I'm attempting to build an i386 development box on -CURRENT. I'm stuck using a legacy nvidia card (NV-34). Yea, I know. But that's what I have. Anyway, that necessitates my maintaining a local copy of the now defunct x11/nvidia-driver-173 port. I've cobbled/refined all the necessary patches; save one. Which is what beings me here. It appears that the d_thread_t compatibility shim provided in 5.0 was dumped in r277897. Sadly, as a result I receive the following, when attempting to build the port (in spite of having COMPAT_FREEBSD5 built in to my custom kernel): /usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.39/src/nv-freebs d.h:459:68: error: unknown type name 'd_thread_t' int nvidia_handle_ioctl (struct cdev *, u_long, caddr_t, int, d_thread_t *) ; ^ /usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.39/src/nv-freebs d.h:463:46: error: unknown type name 'd_thread_t' int nvidia_open_ctl (struct cdev *, d_thread_t *); ^ /usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.39/src/nv-freebs d.h:464:69: error: unknown type name 'd_thread_t' int nvidia_open_dev (struct nvidia_softc *, struct cdev *, d_thread_t * ); ^ /usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.39/src/nv-freebs d.h:465:46: error: unknown type name 'd_thread_t' int nvidia_close_ctl (struct cdev *, d_thread_t *); ^ /usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.39/src/nv-freebs d.h:466:69: error: unknown type name 'd_thread_t' int nvidia_close_dev (struct nvidia_softc *, struct cdev *, d_thread_t * ); Is there any way around this? Thanks for any, and all help with this! --Chris --