diff options
author | miwi <miwi@FreeBSD.org> | 2007-03-21 17:59:12 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-03-21 17:59:12 +0800 |
commit | cb7d7457226f2a23a35593770651c99d60d6e91e (patch) | |
tree | ede94d64ec177d3168085eb05b345211a7e0e8ad /audio | |
parent | ce24f0ec588d50dc4a8778345a4062c7913de226 (diff) | |
download | freebsd-ports-graphics-cb7d7457226f2a23a35593770651c99d60d6e91e.tar.gz freebsd-ports-graphics-cb7d7457226f2a23a35593770651c99d60d6e91e.tar.zst freebsd-ports-graphics-cb7d7457226f2a23a35593770651c99d60d6e91e.zip |
- Fix build ia64
PR: 110507
Submitted by: trasz <trasz@pin.if.uz.zgora.pl> (maintainer)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/zynaddsubfx/Makefile | 1 | ||||
-rw-r--r-- | audio/zynaddsubfx/files/patch-globals.h | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/audio/zynaddsubfx/Makefile b/audio/zynaddsubfx/Makefile index 07f4532644a..6a54581a49f 100644 --- a/audio/zynaddsubfx/Makefile +++ b/audio/zynaddsubfx/Makefile @@ -7,6 +7,7 @@ PORTNAME= zynaddsubfx PORTVERSION= 2.2.1 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= zynaddsubfx diff --git a/audio/zynaddsubfx/files/patch-globals.h b/audio/zynaddsubfx/files/patch-globals.h new file mode 100644 index 00000000000..1bd20438935 --- /dev/null +++ b/audio/zynaddsubfx/files/patch-globals.h @@ -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) )); |