summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-11-11 20:32:28 +0000
committerKoen Kooi <koen@openembedded.org>2006-11-11 20:32:28 +0000
commitc96e2bdacc17e026911a75b207fbad39b4b5dd17 (patch)
tree2d5e88122414e8e54bcc4deefa79f0d2ea59b16d
parent01b752a6cdf62a513886bd89bf649980f8ab1862 (diff)
faad2: add a gcc4 fix
* as a side note: thank $deity that we don't use that line-ending mangling bitkeeper anymore, yay!
-rw-r--r--packages/faad2/faad2-2.0/faad2-gcc-fix.patch11
-rw-r--r--packages/faad2/faad2_2.0.bb7
2 files changed, 15 insertions, 3 deletions
diff --git a/packages/faad2/faad2-2.0/faad2-gcc-fix.patch b/packages/faad2/faad2-2.0/faad2-gcc-fix.patch
new file mode 100644
index 0000000000..943b89a53f
--- /dev/null
+++ b/packages/faad2/faad2-2.0/faad2-gcc-fix.patch
@@ -0,0 +1,11 @@
+--- /tmp/mp4ff.c 2006-11-11 21:25:07.000000000 +0100
++++ faad2/common/mp4ff/mp4ff.c 2006-11-11 21:25:20.348554000 +0100
+@@ -87,7 +87,7 @@
+ if (ff) free(ff);
+ }
+
+-static void mp4ff_track_add(mp4ff_t *f)
++void mp4ff_track_add(mp4ff_t *f)
+ {
+ f->total_tracks++;
+
diff --git a/packages/faad2/faad2_2.0.bb b/packages/faad2/faad2_2.0.bb
index 18df582a4e..a856a1e45f 100644
--- a/packages/faad2/faad2_2.0.bb
+++ b/packages/faad2/faad2_2.0.bb
@@ -4,12 +4,13 @@ SECTION = "libs"
LICENSE = "LGPL"
PRIORITY = "optional"
DEPENDS = ""
-PR="r1"
+PR="r2"
inherit autotools
SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.zip \
- file://Makefile.am"
+ file://faad2-gcc-fix.patch;patch=1 \
+ file://Makefile.am"
S="${WORKDIR}/${PN}"
@@ -17,7 +18,7 @@ do_configure_prepend() {
mv ${WORKDIR}/Makefile.am ${S}/
}
-PACKAGES = "${PN} libfaad libfaad-dev libmp4ff libmp4ff-dev"
+PACKAGES =+ "libfaad libfaad-dev libmp4ff libmp4ff-dev"
FILES_${PN} = "${bindir}/faad"