From owner-freebsd-ports-bugs Tue Mar 4 19:50:12 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A19B37B401 for ; Tue, 4 Mar 2003 19:50:09 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DF6043FBF for ; Tue, 4 Mar 2003 19:50:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h253o8NS081223 for ; Tue, 4 Mar 2003 19:50:08 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h253o8UJ081222; Tue, 4 Mar 2003 19:50:08 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6632D37B401 for ; Tue, 4 Mar 2003 19:43:36 -0800 (PST) Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54EA043FD7 for ; Tue, 4 Mar 2003 19:43:35 -0800 (PST) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id h254hV521009 for ; Tue, 4 Mar 2003 22:43:33 -0600 Received: by mortis.over-yonder.net (Postfix, from userid 100) id C565A20F33; Tue, 4 Mar 2003 21:43:31 -0600 (CST) Message-Id: <20030305034331.C565A20F33@mortis.over-yonder.net> Date: Tue, 4 Mar 2003 21:43:31 -0600 (CST) From: "Matthew D.Fuller" Reply-To: "Matthew D.Fuller" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/48941: [PATCH] XFree86 3.x compile error Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48941 >Category: ports >Synopsis: [PATCH] XFree86 3.x compile error >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 04 19:50:07 PST 2003 >Closed-Date: >Last-Modified: >Originator: Matthew D. Fuller >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD mortis.sighup.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Jan 8 18:46:11 CST 2003 fullermd@mortis.sighup.org:/usr/obj/usr/src/sys/MORTIS i386 >Description: XFree86 3.3.6 fails to compile in several ways. The first occurs when you try to link in pam support, in that it tries to stick a pointer to the misc_conv() function into a structure. I don't know enough about PAM to track this one down. The other is in the joystick header files, which I can patch. With this patch, and PAM disabled, the compile works fine. >How-To-Repeat: cd /usr/ports/x11/XFree86 && make >Fix: --- programs/Xserver/hw/xfree86/os-support/bsd/bsd_jstk.c.orig Tue Mar 4 16:29:48 2003 +++ programs/Xserver/hw/xfree86/os-support/bsd/bsd_jstk.c Tue Mar 4 16:29:55 2003 @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #define JS_RETURN sizeof(struct joystick) --- programs/Xserver/hw/xfree86/etc/joycal.c.orig Tue Mar 4 18:30:16 2003 +++ programs/Xserver/hw/xfree86/etc/joycal.c Tue Mar 4 18:30:25 2003 @@ -6,7 +6,7 @@ #include #include #if defined (__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) -#include +#include #define JS_RETURN sizeof(struct joystick) #define JS_DATA_TYPE joystick #define button_down(j) (j.b1 | j.b2) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message