From 9e11fbf9048b17526ca8160d82b69f386595c9a7 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 14 Dec 2010 15:39:42 +0000 Subject: [PATCH] gstreamer: fix to comply with make 3.82's stricter parser Signed-off-by: Joshua Lock --- .../gstreamer-0.10.29/make-382.patch | 32 +++++++++++++++++++ .../gstreamer/gstreamer_0.10.29.bb | 7 ++-- 2 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer-0.10.29/make-382.patch diff --git a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.29/make-382.patch b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.29/make-382.patch new file mode 100644 index 0000000000..1af2a81325 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.29/make-382.patch @@ -0,0 +1,32 @@ +The whitespaces instead of tabs here cause the new, stricter, parser in make +3.82 to barf on the doc makefiles. + +This patch should no longer be required in more recent gstreamer version + +JL - 14/12/10 + +Index: gstreamer-0.10.29/common/gtk-doc.mak +=================================================================== +--- gstreamer-0.10.29.orig/common/gtk-doc.mak ++++ gstreamer-0.10.29/common/gtk-doc.mak +@@ -232,6 +232,6 @@ dist-hook: dist-check-gtkdoc dist-hook-l + -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ + -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ + cd $(distdir) && rm -f $(DISTCLEANFILES) +- -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html ++ -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html + + .PHONY : dist-hook-local docs +Index: gstreamer-0.10.29/common/gtk-doc-plugins.mak +=================================================================== +--- gstreamer-0.10.29.orig/common/gtk-doc-plugins.mak ++++ gstreamer-0.10.29/common/gtk-doc-plugins.mak +@@ -352,7 +352,7 @@ dist-hook: dist-check-gtkdoc dist-hook-l + -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ + -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ + cd $(distdir) && rm -f $(DISTCLEANFILES) +- -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html ++ -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html + + .PHONY : dist-hook-local docs + diff --git a/meta/recipes-multimedia/gstreamer/gstreamer_0.10.29.bb b/meta/recipes-multimedia/gstreamer/gstreamer_0.10.29.bb index 38e28fa534..9b7185a9d6 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer_0.10.29.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer_0.10.29.bb @@ -9,11 +9,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \ file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4" DEPENDS = "glib-2.0 gettext libxml2 bison-native flex-native" -PR = "r0" +PR = "r1" SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \ - file://check_fix.patch;patch=1 \ - file://gst-inspect-check-error.patch;patch=1" + file://check_fix.patch \ + file://gst-inspect-check-error.patch \ + file://make-382.patch" inherit autotools pkgconfig