[19964] trunk/dports/audio/faad2
source_changes at macosforge.org
source_changes at macosforge.org
Fri Oct 6 16:07:06 PDT 2006
Revision: 19964
http://trac.macosforge.org/projects/macports/changeset/19964
Author: pguyot at kallisys.net
Date: 2006-10-06 16:07:06 -0700 (Fri, 06 Oct 2006)
Log Message:
-----------
faad2: we have lrintf.
Possibly fixes #8070
Modified Paths:
--------------
trunk/dports/audio/faad2/Portfile
Added Paths:
-----------
trunk/dports/audio/faad2/files/patch-libfaad-common.h
Modified: trunk/dports/audio/faad2/Portfile
===================================================================
--- trunk/dports/audio/faad2/Portfile 2006-10-06 21:56:24 UTC (rev 19963)
+++ trunk/dports/audio/faad2/Portfile 2006-10-06 23:07:06 UTC (rev 19964)
@@ -3,6 +3,7 @@
PortSystem 1.0
name faad2
version 2.5
+revision 1
categories audio
maintainers pguyot at kallisys.net
description Fastest ISO AAC audio decoder.
@@ -18,7 +19,7 @@
sha1 3805d32c9d0033572eced93482f81c1dd198cd2c \
rmd160 4031786df0aded272bc4603ef18e80128e5e9063
worksrcdir ${name}
-patchfiles patch-configure.in patch-Makefile.am
+patchfiles patch-configure.in patch-Makefile.am patch-libfaad-common.h
depends_lib port:libtool \
port:autoconf \
@@ -31,3 +32,8 @@
}
configure.args --without-bmp --without-xmms --without-drm --without-mpeg4ip
+
+platform darwin {
+ configure.env CFLAGS=-DHAS_LRINTF
+}
+
Added: trunk/dports/audio/faad2/files/patch-libfaad-common.h
===================================================================
--- trunk/dports/audio/faad2/files/patch-libfaad-common.h (rev 0)
+++ trunk/dports/audio/faad2/files/patch-libfaad-common.h 2006-10-06 23:07:06 UTC (rev 19964)
@@ -0,0 +1,19 @@
+--- libfaad/common.h 2006-08-08 03:13:28.000000000 +0900
++++ libfaad/common.h 2006-10-07 07:55:17.000000000 +0900
+@@ -309,6 +309,7 @@
+ }
+
+
++#ifndef HAS_LRINTF
+ #if defined(_WIN32) && !defined(__MINGW32__)
+ #define HAS_LRINTF
+ static INLINE int lrintf(float f)
+@@ -336,7 +337,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/20061006/4cf944f6/attachment.html
More information about the macports-changes
mailing list