diff options
author | grant <grant@pkgsrc.org> | 2004-05-15 13:01:02 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-05-15 13:01:02 +0000 |
commit | 911640f9e44b912bff976e4c83da7533192dac2e (patch) | |
tree | 9a9f999276e48d44dc6633334fced026a7382cc8 /audio/faad2 | |
parent | 050056bf7756e478dfc7ef62fdd6a12e23b2c5fd (diff) | |
download | pkgsrc-911640f9e44b912bff976e4c83da7533192dac2e.tar.gz |
- remove __inline gccism
- add some casts to avoid sunpro c++ errors
- include the right system header file to get the integer types
fixes build with sunpro.
Diffstat (limited to 'audio/faad2')
-rw-r--r-- | audio/faad2/distinfo | 5 | ||||
-rw-r--r-- | audio/faad2/patches/patch-ad | 13 | ||||
-rw-r--r-- | audio/faad2/patches/patch-ae | 15 | ||||
-rw-r--r-- | audio/faad2/patches/patch-af | 29 |
4 files changed, 61 insertions, 1 deletions
diff --git a/audio/faad2/distinfo b/audio/faad2/distinfo index e9cb0763422..7c5d533849c 100644 --- a/audio/faad2/distinfo +++ b/audio/faad2/distinfo @@ -1,7 +1,10 @@ -$NetBSD: distinfo,v 1.2 2004/03/28 20:16:09 mycroft Exp $ +$NetBSD: distinfo,v 1.3 2004/05/15 13:01:02 grant Exp $ SHA1 (faad2-2.0.tar.gz) = fc9f8d0812a9f46bbd851880045131e0e4ab08b8 Size (faad2-2.0.tar.gz) = 766660 bytes SHA1 (patch-aa) = 59215b4c221b47dbee9a713fff302fdfe700cea2 SHA1 (patch-ab) = 33c8c741f3b3870d84c66b6eb8bf95d4b768f39e SHA1 (patch-ac) = 9c610dbaa89df5a82587f685116aac5e760fe32c +SHA1 (patch-ad) = ca6ca41c5f20535f0f91edb1cd5674882369a9b2 +SHA1 (patch-ae) = 04b09d0ace9381152b1ebc12951c530c5c3c46fc +SHA1 (patch-af) = 474117f9333c0b14bdd99d9c7b330e480b1e1b4a diff --git a/audio/faad2/patches/patch-ad b/audio/faad2/patches/patch-ad new file mode 100644 index 00000000000..f76cee7e304 --- /dev/null +++ b/audio/faad2/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2004/05/15 13:02:33 grant Exp $ + +--- libfaad/common.h.orig 2004-02-06 23:55:24.000000000 +1100 ++++ libfaad/common.h +@@ -32,7 +32,7 @@ + extern "C" { + #endif + +-#define INLINE __inline ++#define INLINE inline + #if defined(_WIN32) && !defined(_WIN32_WCE) + #define ALIGN __declspec(align(16)) + #else diff --git a/audio/faad2/patches/patch-ae b/audio/faad2/patches/patch-ae new file mode 100644 index 00000000000..1cfb40dcc19 --- /dev/null +++ b/audio/faad2/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.1 2004/05/15 13:02:33 grant Exp $ + +--- common/mp4v2/rtphint.cpp.orig 2003-06-30 07:41:00.000000000 +1000 ++++ common/mp4v2/rtphint.cpp +@@ -321,8 +321,8 @@ void MP4RtpHintTrack::GetPayload( + if (ppEncodingParams) + *ppEncodingParams = NULL; + if (m_pRtpMapProperty) { +- const char* pRtpMap = m_pRtpMapProperty->GetValue(); +- char* pSlash = strchr(pRtpMap, '/'); ++ const char* pRtpMap = (const char *)m_pRtpMapProperty->GetValue(); ++ char* pSlash = (char *)strchr(pRtpMap, '/'); + + u_int32_t length; + if (pSlash) { diff --git a/audio/faad2/patches/patch-af b/audio/faad2/patches/patch-af new file mode 100644 index 00000000000..169ead8d4a6 --- /dev/null +++ b/audio/faad2/patches/patch-af @@ -0,0 +1,29 @@ +$NetBSD: patch-af,v 1.1 2004/05/15 13:02:33 grant Exp $ + +--- common/mp4ff/mp4ff_int_types.h.orig 2003-12-14 09:26:56.000000000 +1100 ++++ common/mp4ff/mp4ff_int_types.h +@@ -1,3 +1,5 @@ ++#include "config.h" ++ + #ifndef _MP4FF_INT_TYPES_H_ + #define _MP4FF_INT_TYPES_H_ + +@@ -15,9 +17,16 @@ typedef unsigned __int64 uint64_t; + + #else + ++#if HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#elif HAVE_INTTYPES_H ++#include <inttypes.h> ++#elif HAVE_STDINT_H + #include <stdint.h> ++#endif ++ + + #endif + + +-#endif +\ No newline at end of file ++#endif |