From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 26 19:30:19 2004 Return-Path: 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 B6D5016A4CE for ; Fri, 26 Mar 2004 19:30:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A5C143D45 for ; Fri, 26 Mar 2004 19:30:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2R3UJbv016116 for ; Fri, 26 Mar 2004 19:30:19 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2R3UJ6p016115; Fri, 26 Mar 2004 19:30:19 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 26 Mar 2004 19:30:19 -0800 (PST) Resent-Message-Id: <200403270330.i2R3UJ6p016115@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, Igor Pokrovsky Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 364A116A4CE for ; Fri, 26 Mar 2004 19:20:13 -0800 (PST) Received: from doom.homeunix.org (8-231.dialup.comset.net [213.172.8.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id C43B743D41 for ; Fri, 26 Mar 2004 19:20:01 -0800 (PST) (envelope-from igor@doom.homeunix.org) Received: from doom.homeunix.org (localhost [127.0.0.1]) by doom.homeunix.org (8.12.11/8.12.11) with ESMTP id i2R3JlpC000487 for ; Sat, 27 Mar 2004 06:19:52 +0300 (MSK) (envelope-from igor@doom.homeunix.org) Received: (from igor@localhost) by doom.homeunix.org (8.12.11/8.12.11/Submit) id i2Q79hwo013456; Fri, 26 Mar 2004 10:09:43 +0300 (MSK) (envelope-from igor) Message-Id: <200403260709.i2Q79hwo013456@doom.homeunix.org> Date: Fri, 26 Mar 2004 10:09:43 +0300 (MSK) From: Igor Pokrovsky To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/64790: Update port: graphics/irit bento fix X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Igor Pokrovsky List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2004 03:30:19 -0000 >Number: 64790 >Category: ports >Synopsis: Update port: graphics/irit bento fix >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Mar 26 19:30:19 PST 2004 >Closed-Date: >Last-Modified: >Originator: Igor Pokrovsky >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD doom.homeunix.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Feb 26 21:34:55 MSK 2004 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386 >Description: Removed fp stuff for !i386 machines (fixes compilation errors). >How-To-Repeat: >Fix: --- irit.diff begins here --- diff -ru /usr/ports/graphics/irit/Makefile irit/Makefile --- /usr/ports/graphics/irit/Makefile Fri Mar 19 18:31:51 2004 +++ irit/Makefile Fri Mar 26 09:04:24 2004 @@ -52,12 +52,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message -.include - -.if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" -.endif - .ifndef (WITH_MOTIF) pre-everything:: @${ECHO_CMD} "" @@ -99,4 +93,4 @@ @(${SED} -e 's|%%DATADIR%%|${DATADIR}|' \ ${PKGMESSAGE} && ${CAT} ${PKGMESSAGE}) -.include +.include diff -ru /usr/ports/graphics/irit/files/patch-irender_main.c irit/files/patch-irender_main.c --- /usr/ports/graphics/irit/files/patch-irender_main.c Tue Feb 24 01:10:39 2004 +++ irit/files/patch-irender_main.c Fri Mar 26 09:04:46 2004 @@ -1,15 +1,19 @@ ---- irender/main.c.orig Mon Feb 2 13:53:42 2004 -+++ irender/main.c Mon Feb 2 14:05:03 2004 -@@ -13,7 +13,7 @@ +--- irender/main.c.orig Thu Dec 25 18:34:39 2003 ++++ irender/main.c Fri Mar 26 08:51:39 2004 +@@ -12,9 +12,9 @@ + #include "parser.h" #include "config.h" - #ifdef __FreeBSD__ +-#ifdef __FreeBSD__ -#include +-#endif ++#if (defined(__FreeBSD__) && defined(__i386__)) +#include - #endif ++#endif /* __FreeBSD__ && __i386__ */ /* Contains all configuration options. Subject to change by config file and */ -@@ -48,15 +48,15 @@ + /* and command line parameters. */ +@@ -48,16 +48,16 @@ *****************************************************************************/ int main(int argc, char *argv[]) { @@ -22,10 +26,24 @@ *MatrixFiles[] = {NULL, NULL}; IRndrPtrType Rend; BoolType DoClipping; -+ -+#ifdef __FreeBSD__ -+ fpsetmask(FP_X_INV | FP_X_DZ); -+#endif /* __FreeBSD__ */ ++#if (defined(__FreeBSD__) && defined(__i386__)) ++ fpsetmask(FP_X_INV | FP_X_DZ); ++#endif /* __FreeBSD__ && __i386__ */ ++ DoClipping = TRUE; GlblLastTime = IritCPUTime(FALSE); + InitOptions(); +@@ -129,10 +129,10 @@ + IRndrDestroy(Rend); + TakeTime("Z-Buffer dump"); + +-#ifdef __FreeBSD__ ++#if (defined(__FreeBSD__) && defined(__i386__)) + fpresetsticky(FP_X_INV | FP_X_OFL | FP_X_UFL | + FP_X_DZ | FP_X_IMP | FP_X_DNML); +-#endif /* __FreeBSD__ */ ++#endif /* __FreeBSD__ && __i386__ */ + + return 0; + } --- irit.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: