summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortnn <tnn>2009-08-08 04:24:20 +0000
committertnn <tnn>2009-08-08 04:24:20 +0000
commitb22a3db2877df482f297aaa4cf805cbce2c950a9 (patch)
tree09395ce0576f59fe7c9022be61b65684445d8065 /audio
parent0ee2ffaf8f355cfd43369fcf3c0d2ce162bd0700 (diff)
downloadpkgsrc-b22a3db2877df482f297aaa4cf805cbce2c950a9.tar.gz
patch-at: fix build on Linux (uint32_t was not in scope)
Diffstat (limited to 'audio')
-rw-r--r--audio/faad2/distinfo4
-rw-r--r--audio/faad2/patches/patch-at14
2 files changed, 13 insertions, 5 deletions
diff --git a/audio/faad2/distinfo b/audio/faad2/distinfo
index 17bd98390e5..ed42365d0e3 100644
--- a/audio/faad2/distinfo
+++ b/audio/faad2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2009/07/13 12:55:54 tonio Exp $
+$NetBSD: distinfo,v 1.19 2009/08/08 04:24:20 tnn Exp $
SHA1 (faad2-2.6.1.tar.gz) = b4ad33d3c4dfa6dbf3011a3da34c631926cabfad
RMD160 (faad2-2.6.1.tar.gz) = ad559933dad6a65576a9947819190f04cb3b1c16
@@ -12,6 +12,6 @@ SHA1 (patch-aj) = 06a8641803fdae5055f66255c57634b8f8619a77
SHA1 (patch-ak) = d8f47b6f738d885c5e512f9f5508290a0b146bbe
SHA1 (patch-ar) = 0aa479669b1e2417f9a68adb0ac79ae9c6d5dfe8
SHA1 (patch-as) = 1626b7a4e696862c365740c6b29f786662c9d845
-SHA1 (patch-at) = 52839407569f452bfecccd7f531fbcac0fb519ad
+SHA1 (patch-at) = a01fdc476dc3ee5d609b7e630b71e48dbcfd095a
SHA1 (patch-au) = 6b88310d0ed5fa2fcd07507d4807681fa85d8525
SHA1 (patch-av) = c8b65b8ec9780972381640452b49b41a901f8a5f
diff --git a/audio/faad2/patches/patch-at b/audio/faad2/patches/patch-at
index 1822fd370f0..98f59a2350e 100644
--- a/audio/faad2/patches/patch-at
+++ b/audio/faad2/patches/patch-at
@@ -1,8 +1,16 @@
-$NetBSD: patch-at,v 1.2 2008/09/24 22:25:14 tonnerre Exp $
+$NetBSD: patch-at,v 1.3 2009/08/08 04:24:20 tnn Exp $
--- frontend/main.c.orig 2007-11-01 13:33:29.000000000 +0100
+++ frontend/main.c
-@@ -914,6 +914,8 @@ int decodeMP4file(char *mp4file, char *s
+@@ -43,6 +43,7 @@
+ #include <getopt.h>
+
+ #include <neaacdec.h>
++#include <mp4ff_int_types.h> /* for uint32_t */
+ #include <mp4ff.h>
+
+ #include "audio.h"
+@@ -914,6 +915,8 @@ int decodeMP4file(char *mp4file, char *s
sample_count = frameInfo.samples;
} else {
sample_count = (unsigned int)(dur * frameInfo.channels);
@@ -11,7 +19,7 @@ $NetBSD: patch-at,v 1.2 2008/09/24 22:25:14 tonnerre Exp $
if (!useAacLength && !initial && (sampleId < numSamples/2) && (sample_count != frameInfo.samples))
{
-@@ -1189,11 +1191,13 @@ int main(int argc, char *argv[])
+@@ -1189,11 +1192,13 @@ int main(int argc, char *argv[])
return 1;
}