diff options
-rw-r--r-- | packages/faad2/faad2-2.0/faad2-gcc-fix.patch | 11 | ||||
-rw-r--r-- | packages/faad2/faad2_2.0.bb | 7 |
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" |