[20728] trunk/dports/audio/aacgain
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 22 21:12:57 PST 2006
Revision: 20728
http://trac.macosforge.org/projects/macports/changeset/20728
Author: markd at macports.org
Date: 2006-11-22 21:12:56 -0800 (Wed, 22 Nov 2006)
Log Message:
-----------
Closes #10910. Patch submitted by maintainer to fix compiling on Intel.
Modified Paths:
--------------
trunk/dports/audio/aacgain/Portfile
Added Paths:
-----------
trunk/dports/audio/aacgain/files/
trunk/dports/audio/aacgain/files/patch-libfaad-common.h
Modified: trunk/dports/audio/aacgain/Portfile
===================================================================
--- trunk/dports/audio/aacgain/Portfile 2006-11-22 20:35:52 UTC (rev 20727)
+++ trunk/dports/audio/aacgain/Portfile 2006-11-23 05:12:56 UTC (rev 20728)
@@ -3,6 +3,7 @@
PortSystem 1.0
name aacgain
version 1.5
+revision 1
categories audio
platforms darwin
maintainers tristan at cs.dartmouth.edu
@@ -15,6 +16,10 @@
master_sites http://altosdesign.com/aacgain/
use_bzip2 yes
checksums md5 620412590eb8eadc274eb7c699ddb6c2
+patchfiles patch-libfaad-common.h
depends_lib port:mpeg4ip port:faad2
+platform darwin {
+ configure.env CFLAGS=-DHAS_LRINTF
+}
Added: trunk/dports/audio/aacgain/files/patch-libfaad-common.h
===================================================================
--- trunk/dports/audio/aacgain/files/patch-libfaad-common.h (rev 0)
+++ trunk/dports/audio/aacgain/files/patch-libfaad-common.h 2006-11-23 05:12:56 UTC (rev 20728)
@@ -0,0 +1,20 @@
+--- faad2/libfaad/common.h 2004-09-08 05:43:12.000000000 -0400
++++ faad2/libfaad/common.h 2006-10-19 18:16:44.000000000 -0400
+@@ -288,7 +288,7 @@
+ *y2 = MUL_F(x2, c1) - MUL_F(x1, c2);
+ }
+
+-
++#ifndef HAS_LRINTF
+ #if defined(_WIN32) && !defined(__MINGW32__)
+ #define HAS_LRINTF
+ static INLINE int lrintf(float f)
+@@ -315,7 +315,7 @@
+ return i;
+ }
+ #endif
+-
++#endif
+
+ #ifdef __ICL /* only Intel C compiler has fmath ??? */
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061122/d2bb7af1/attachment.html
More information about the macports-changes
mailing list