pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/faad2 Always include stdint.h and/or inttypes.h ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/50c8c6b5f66a
branches: trunk
changeset: 486584:50c8c6b5f66a
user: minskim <minskim%pkgsrc.org@localhost>
date: Thu Dec 30 06:35:38 2004 +0000
description:
Always include stdint.h and/or inttypes.h if they are present. The
previous sunpro patch doesn't include them when sys/types.h is
present, breaking this package on Linux.
diffstat:
audio/faad2/distinfo | 4 ++--
audio/faad2/patches/patch-af | 12 +++++++-----
2 files changed, 9 insertions(+), 7 deletions(-)
diffs (48 lines):
diff -r 18ea8fd1793a -r 50c8c6b5f66a audio/faad2/distinfo
--- a/audio/faad2/distinfo Thu Dec 30 05:12:41 2004 +0000
+++ b/audio/faad2/distinfo Thu Dec 30 06:35:38 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2004/07/31 08:10:47 xtraeme Exp $
+$NetBSD: distinfo,v 1.5 2004/12/30 06:35:38 minskim Exp $
SHA1 (faad2-2.0.tar.gz) = fc9f8d0812a9f46bbd851880045131e0e4ab08b8
Size (faad2-2.0.tar.gz) = 766660 bytes
@@ -7,4 +7,4 @@
SHA1 (patch-ac) = 9c610dbaa89df5a82587f685116aac5e760fe32c
SHA1 (patch-ad) = 4d57360bfd5e9c7f75d06ae274723f7aa1e11186
SHA1 (patch-ae) = 04b09d0ace9381152b1ebc12951c530c5c3c46fc
-SHA1 (patch-af) = 474117f9333c0b14bdd99d9c7b330e480b1e1b4a
+SHA1 (patch-af) = c6da419d2ac6b120b2e70c72f240c6f6b83ca39a
diff -r 18ea8fd1793a -r 50c8c6b5f66a audio/faad2/patches/patch-af
--- a/audio/faad2/patches/patch-af Thu Dec 30 05:12:41 2004 +0000
+++ b/audio/faad2/patches/patch-af Thu Dec 30 06:35:38 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-af,v 1.1 2004/05/15 13:02:33 grant Exp $
+$NetBSD: patch-af,v 1.2 2004/12/30 06:35:38 minskim Exp $
---- common/mp4ff/mp4ff_int_types.h.orig 2003-12-14 09:26:56.000000000 +1100
+--- common/mp4ff/mp4ff_int_types.h.orig 2003-12-13 16:26:56.000000000 -0600
+++ common/mp4ff/mp4ff_int_types.h
@@ -1,3 +1,5 @@
+#include "config.h"
@@ -8,15 +8,17 @@
#ifndef _MP4FF_INT_TYPES_H_
#define _MP4FF_INT_TYPES_H_
-@@ -15,9 +17,16 @@ typedef unsigned __int64 uint64_t;
+@@ -15,9 +17,18 @@ typedef unsigned __int64 uint64_t;
#else
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
-+#elif HAVE_INTTYPES_H
++#endif
++#if HAVE_INTTYPES_H
+#include <inttypes.h>
-+#elif HAVE_STDINT_H
++#endif
++#if HAVE_STDINT_H
#include <stdint.h>
+#endif
+
Home |
Main Index |
Thread Index |
Old Index