Date: Mon, 19 Mar 2007 09:28:44 +0100 (CET) From: trasz <trasz@pin.if.uz.zgora.pl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110507: [MAINTAINER] audio/zynaddsubfx: fix build on ia64 Message-ID: <20070319082844.4D01439DBD@pin.if.uz.zgora.pl> Resent-Message-ID: <200703190820.l2J8K5sn031317@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110507 >Category: ports >Synopsis: [MAINTAINER] audio/zynaddsubfx: fix build on ia64 >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 Mar 19 08:20:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: trasz >Release: FreeBSD 6.1-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006 >Description: Try to fix build on ia64 and probably other {i386,amd64}. Untested due to lack of hardware. Added file(s): - files/patch-globals.h Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- zynaddsubfx-2.2.1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/audio/zynaddsubfx/files/patch-globals.h /home/trasz/zynaddsubfx/files/patch-globals.h --- /usr/ports/audio/zynaddsubfx/files/patch-globals.h Thu Jan 1 01:00:00 1970 +++ /home/trasz/zynaddsubfx/files/patch-globals.h Mon Mar 19 09:26:47 2007 @@ -0,0 +1,11 @@ +--- globals.h.orig Mon Mar 19 07:54:57 2007 ++++ globals.h Mon Mar 19 07:55:00 2007 +@@ -196,7 +196,7 @@ + + + //is like i=(int)(floor(f)) +-#ifdef ASM_F2I_YES ++#if defined(ASM_F2I_YES) && defined(__i386__) + #define F2I(f,i) __asm__ __volatile__ ("fistpl %0" : "=m" (i) : "t" (f-0.49999999) : "st") ; + #else + #define F2I(f,i) (i)=((f>0) ? ( (int)(f) ) :( (int)(f-1.0) )); --- zynaddsubfx-2.2.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070319082844.4D01439DBD>