summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <tester@gentoo.org>2004-03-13 15:52:15 +0000
committerOlivier Crête <tester@gentoo.org>2004-03-13 15:52:15 +0000
commit1270b49f777f89898c3582a3eaaf7a05369475f2 (patch)
treea39906bcf0a3a83c8d1c951ee77dadf9d8b48849 /media-libs/faad2/files
parentnew release (diff)
downloadhistorical-1270b49f777f89898c3582a3eaaf7a05369475f2.tar.gz
historical-1270b49f777f89898c3582a3eaaf7a05369475f2.tar.bz2
historical-1270b49f777f89898c3582a3eaaf7a05369475f2.zip
add media-libs/faad-2.0 with appropriates patches
Diffstat (limited to 'media-libs/faad2/files')
-rw-r--r--media-libs/faad2/files/digest-faad2-2.01
-rw-r--r--media-libs/faad2/files/faad2-2.0-configure-mpeg4ip.patch11
-rw-r--r--media-libs/faad2/files/faad2-2.0-makefile-space.patch11
-rw-r--r--media-libs/faad2/files/mp4atom-sliver.patch24
4 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/faad2/files/digest-faad2-2.0 b/media-libs/faad2/files/digest-faad2-2.0
new file mode 100644
index 000000000000..38c97b9bd3b4
--- /dev/null
+++ b/media-libs/faad2/files/digest-faad2-2.0
@@ -0,0 +1 @@
+MD5 1a6f79365f2934a4888b210ef47a3a07 faad2-2.0.tar.gz 766660
diff --git a/media-libs/faad2/files/faad2-2.0-configure-mpeg4ip.patch b/media-libs/faad2/files/faad2-2.0-configure-mpeg4ip.patch
new file mode 100644
index 000000000000..c91804d39070
--- /dev/null
+++ b/media-libs/faad2/files/faad2-2.0-configure-mpeg4ip.patch
@@ -0,0 +1,11 @@
+--- configure.in.orig 2004-03-13 15:24:19.783147336 +0100
++++ configure.in 2004-03-13 15:24:48.430792232 +0100
+@@ -67,7 +67,7 @@
+ [HAVE_FPOS_T_POS])
+
+
+-external_mp4v2=yes
++AC_CHECK_PROG(external_mp4v2, mpeg4ip-config, yes, no)
+ AC_CHECK_LIB(mp4v2, MP4Create, , external_mp4v2=no, -lstdc++)
+ AC_CHECK_LIB(mp4v2, MP4MetadataDelete, , external_mp4v2=no, -lstdc++)
+ AC_CHECK_HEADER(mp4.h, , external_mp4v2=no)
diff --git a/media-libs/faad2/files/faad2-2.0-makefile-space.patch b/media-libs/faad2/files/faad2-2.0-makefile-space.patch
new file mode 100644
index 000000000000..c8710d9ddb84
--- /dev/null
+++ b/media-libs/faad2/files/faad2-2.0-makefile-space.patch
@@ -0,0 +1,11 @@
+--- Makefile.am.orig 2004-03-13 14:05:37.008118272 +0100
++++ Makefile.am 2004-03-13 14:05:42.753244880 +0100
+@@ -1,8 +1,3 @@
+ SUBDIRS = libfaad common frontend plugins
+
+ EXTRA_DIST = faad2.spec
+-
+-rpm: Makefile
+- make dist
+- $(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
+- rm $(PACKAGE)-$(VERSION).tar.gz
diff --git a/media-libs/faad2/files/mp4atom-sliver.patch b/media-libs/faad2/files/mp4atom-sliver.patch
new file mode 100644
index 000000000000..50b6d0e57bd2
--- /dev/null
+++ b/media-libs/faad2/files/mp4atom-sliver.patch
@@ -0,0 +1,24 @@
+Index: mp4atom.h
+===================================================================
+RCS file: /vws/pan/mpeg4ip/lib/mp4v2/mp4atom.h,v
+retrieving revision 1.30
+diff -c -w -r1.30 mp4atom.h
+*** mp4atom.h 5 Dec 2001 21:11:20 -0000 1.30
+--- mp4atom.h 3 Dec 2003 21:56:26 -0000
+***************
+*** 88,94 ****
+ return m_type;
+ };
+ void SetType(const char* type) {
+! if (type) {
+ ASSERT(strlen(type) == 4);
+ memcpy(m_type, type, 4);
+ m_type[4] = '\0';
+--- 88,94 ----
+ return m_type;
+ };
+ void SetType(const char* type) {
+! if (type && *type != '\0') {
+ ASSERT(strlen(type) == 4);
+ memcpy(m_type, type, 4);
+ m_type[4] = '\0';