pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/faad2 patch-at: fix build on Linux (uint32_t was...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6aa0a781bf28
branches:  trunk
changeset: 397013:6aa0a781bf28
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Aug 08 04:24:20 2009 +0000

description:
patch-at: fix build on Linux (uint32_t was not in scope)

diffstat:

 audio/faad2/distinfo         |   4 ++--
 audio/faad2/patches/patch-at |  14 +++++++++++---
 2 files changed, 13 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r c0a196f4cc0b -r 6aa0a781bf28 audio/faad2/distinfo
--- a/audio/faad2/distinfo      Sat Aug 08 04:14:18 2009 +0000
+++ b/audio/faad2/distinfo      Sat Aug 08 04:24:20 2009 +0000
@@ -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-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 -r c0a196f4cc0b -r 6aa0a781bf28 audio/faad2/patches/patch-at
--- a/audio/faad2/patches/patch-at      Sat Aug 08 04:14:18 2009 +0000
+++ b/audio/faad2/patches/patch-at      Sat Aug 08 04:24:20 2009 +0000
@@ -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 @@
  
                  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;
      }
  



Home | Main Index | Thread Index | Old Index