From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 27 10:10:17 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 344BA16A41C for ; Mon, 27 Jun 2005 10:10:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B02843D1D for ; Mon, 27 Jun 2005 10:10:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5RAAGix038505 for ; Mon, 27 Jun 2005 10:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5RAAGR2038504; Mon, 27 Jun 2005 10:10:16 GMT (envelope-from gnats) Resent-Date: Mon, 27 Jun 2005 10:10:16 GMT Resent-Message-Id: <200506271010.j5RAAGR2038504@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tijl Coosemans Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 487FF16A41C for ; Mon, 27 Jun 2005 10:03:59 +0000 (GMT) (envelope-from tijl@ulyssis.org) Received: from outmx023.isp.belgacom.be (outmx023.isp.belgacom.be [195.238.2.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id D632F43D1D for ; Mon, 27 Jun 2005 10:03:56 +0000 (GMT) (envelope-from tijl@ulyssis.org) Received: from outmx023.isp.belgacom.be (localhost [127.0.0.1]) by outmx023.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id j5RA3qX9010282 for ; Mon, 27 Jun 2005 12:03:52 +0200 (envelope-from ) Received: from kalimero.kotnet.org (229-193.245.81.adsl.skynet.be [81.245.193.229]) by outmx023.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id j5RA3ldw010234 for ; Mon, 27 Jun 2005 12:03:48 +0200 (envelope-from ) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.13.3/8.13.3) with ESMTP id j5RA3l4K019604 for ; Mon, 27 Jun 2005 12:03:47 +0200 (CEST) (envelope-from tijl@ulyssis.org) Message-Id: <200506271203.47486.tijl@ulyssis.org> Date: Mon, 27 Jun 2005 12:03:47 +0200 From: Tijl Coosemans To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/82691: [patch] comms/libticables: fix build failure on non-i386 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 10:10:17 -0000 >Number: 82691 >Category: ports >Synopsis: [patch] comms/libticables: fix build failure on non-i386 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jun 27 10:10:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Tijl Coosemans >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: >Description: Build fails on non-i386 archs due to i386 specific function calls. http://pointyhat.freebsd.org/errorlogs/sparc64-errorlogs/e.6.2005060522/libticables-3.9.2.log >How-To-Repeat: >Fix: Add the attached file as comms/libticables/files/patch-src-bsd-bsd_ioports.c --- patch-src-bsd-bsd_ioports.c begins here --- --- src/bsd/bsd_ioports.c.orig Mon Jun 27 10:55:22 2005 +++ src/bsd/bsd_ioports.c Mon Jun 27 10:57:24 2005 @@ -34,8 +34,10 @@ #include #include +#ifdef __I386__ #include #include +#endif #include "gettext.h" @@ -55,6 +57,7 @@ /* I/O thru assembly code */ +#ifdef __I386__ static int bsd_asm_read_io(unsigned int addr) { return inb(addr); @@ -64,6 +67,7 @@ { outb(addr, data); } +#endif /* I/O thru ioctl() calls */ --- patch-src-bsd-bsd_ioports.c ends here --- >Release-Note: >Audit-Trail: >Unformatted: