summaryrefslogtreecommitdiff
path: root/audio/faad2/patches
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2005-08-05 13:01:57 +0000
committertonio <tonio@pkgsrc.org>2005-08-05 13:01:57 +0000
commit33140c0757f5d27ef2ab12db473444b2acfb1547 (patch)
tree31065be698ade73b826192f92bbb68f72ba04c98 /audio/faad2/patches
parent39fdfb43f14c96f64082a6d142c9da8670c91213 (diff)
downloadpkgsrc-33140c0757f5d27ef2ab12db473444b2acfb1547.tar.gz
add simple patches for gcc-4 support
approved by cube@
Diffstat (limited to 'audio/faad2/patches')
-rw-r--r--audio/faad2/patches/patch-ag36
-rw-r--r--audio/faad2/patches/patch-ah15
-rw-r--r--audio/faad2/patches/patch-ai13
3 files changed, 64 insertions, 0 deletions
diff --git a/audio/faad2/patches/patch-ag b/audio/faad2/patches/patch-ag
new file mode 100644
index 00000000000..73b47474b3b
--- /dev/null
+++ b/audio/faad2/patches/patch-ag
@@ -0,0 +1,36 @@
+$NetBSD: patch-ag,v 1.1 2005/08/05 13:01:57 tonio Exp $
+
+--- common/mp4v2/mp4property.h.orig 2005-08-05 12:14:37.000000000 +0200
++++ common/mp4v2/mp4property.h 2005-08-05 12:16:34.000000000 +0200
+@@ -58,7 +58,7 @@
+ return m_name;
+ }
+
+- virtual MP4PropertyType GetType() = NULL;
++ virtual MP4PropertyType GetType() = 0;
+
+ bool IsReadOnly() {
+ return m_readOnly;
+@@ -74,17 +74,17 @@
+ m_implicit = value;
+ }
+
+- virtual u_int32_t GetCount() = NULL;
+- virtual void SetCount(u_int32_t count) = NULL;
++ virtual u_int32_t GetCount() = 0;
++ virtual void SetCount(u_int32_t count) = 0;
+
+ virtual void Generate() { /* default is a no-op */ };
+
+- virtual void Read(MP4File* pFile, u_int32_t index = 0) = NULL;
++ virtual void Read(MP4File* pFile, u_int32_t index = 0) = 0;
+
+- virtual void Write(MP4File* pFile, u_int32_t index = 0) = NULL;
++ virtual void Write(MP4File* pFile, u_int32_t index = 0) = 0;
+
+ virtual void Dump(FILE* pFile, u_int8_t indent,
+- bool dumpImplicits, u_int32_t index = 0) = NULL;
++ bool dumpImplicits, u_int32_t index = 0) = 0;
+
+ virtual bool FindProperty(const char* name,
+ MP4Property** ppProperty, u_int32_t* pIndex = NULL);
diff --git a/audio/faad2/patches/patch-ah b/audio/faad2/patches/patch-ah
new file mode 100644
index 00000000000..9631874b7d5
--- /dev/null
+++ b/audio/faad2/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.1 2005/08/05 13:01:57 tonio Exp $
+
+--- common/mp4v2/rtphint.h.orig 2005-08-05 12:17:32.000000000 +0200
++++ common/mp4v2/rtphint.h 2005-08-05 12:17:55.000000000 +0200
+@@ -35,8 +35,8 @@
+ return m_pPacket;
+ }
+
+- virtual u_int16_t GetDataSize() = NULL;
+- virtual void GetData(u_int8_t* pDest) = NULL;
++ virtual u_int16_t GetDataSize() = 0;
++ virtual void GetData(u_int8_t* pDest) = 0;
+
+ MP4Track* FindTrackFromRefIndex(u_int8_t refIndex);
+
diff --git a/audio/faad2/patches/patch-ai b/audio/faad2/patches/patch-ai
new file mode 100644
index 00000000000..dff0dd16f57
--- /dev/null
+++ b/audio/faad2/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2005/08/05 13:01:57 tonio Exp $
+
+--- common/mp4ff/mp4ffint.h.orig 2005-08-05 13:09:25.000000000 +0200
++++ common/mp4ff/mp4ffint.h 2005-08-05 13:09:52.000000000 +0200
+@@ -301,7 +301,7 @@
+ mp4ff_t *mp4ff_open_edit(mp4ff_callback_t *f);
+ #endif
+ void mp4ff_close(mp4ff_t *ff);
+-void mp4ff_track_add(mp4ff_t *f);
++static void mp4ff_track_add(mp4ff_t *f);
+ int32_t parse_sub_atoms(mp4ff_t *f, const uint64_t total_size);
+ int32_t parse_atoms(mp4ff_t *f);
+