summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-10-23 15:01:26 +0000
committertron <tron@pkgsrc.org>2006-10-23 15:01:26 +0000
commitc331716a2dff1590af78d20ec2b23f7a26e267c3 (patch)
tree7b0572e2921c673fa1ea2150c08d744a664eac71 /multimedia
parent204aaee02b2f0f0a28ecb3ff6e19600a11c8ecb4 (diff)
downloadpkgsrc-c331716a2dff1590af78d20ec2b23f7a26e267c3.tar.gz
Fix build problem under Mac OS X using Apple's Xcode Tools 2.4.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/avidemux/distinfo3
-rw-r--r--multimedia/avidemux/patches/patch-ac15
2 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/avidemux/distinfo b/multimedia/avidemux/distinfo
index fef138dd58b..91a7fd8ef43 100644
--- a/multimedia/avidemux/distinfo
+++ b/multimedia/avidemux/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2006/05/17 18:19:18 reed Exp $
+$NetBSD: distinfo,v 1.8 2006/10/23 15:01:26 tron Exp $
SHA1 (avidemux-2.1.2.tar.gz) = e5b475103f2d19543a0e9d72245252143dc77dd7
RMD160 (avidemux-2.1.2.tar.gz) = beb2f9603fb03a8781387be9fd9547e90ebb1a94
Size (avidemux-2.1.2.tar.gz) = 3830241 bytes
SHA1 (patch-aa) = 7d8a6c9318fb68db6456515ddddbf4be5788a694
SHA1 (patch-ab) = b3412bde623c66826855b46a2da17cd5ca6c74f4
+SHA1 (patch-ac) = 275ffd524e25fd9f3d3f27b503eb092857a6045a
diff --git a/multimedia/avidemux/patches/patch-ac b/multimedia/avidemux/patches/patch-ac
new file mode 100644
index 00000000000..bb8df73756d
--- /dev/null
+++ b/multimedia/avidemux/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2006/10/23 15:01:26 tron Exp $
+
+--- avidemux/ADM_lavutil/common.h.orig 2005-12-31 14:36:45.000000000 +0000
++++ avidemux/ADM_lavutil/common.h 2006-10-23 15:39:26.000000000 +0100
+@@ -65,6 +65,10 @@
+ # define restrict
+ #endif
+
++#if defined(__APPLE__) && defined(__MACH__)
++#include <math.h>
++#endif
++
+ #ifndef always_inline
+ #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
+ # define always_inline __attribute__((always_inline)) inline