From f26ea9b3ddc209a7cfc5bb83219d6e584ff262d2 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 2 Feb 2018 19:38:15 +0200 Subject: libfm: add a patch to fix build errors with recent versions of gtk-doc (From OE-Core rev: 3574375deb31e61bc464a51d8a6b949b8521a4ff) Signed-off-by: Alexander Kanavin Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- ...Enclose-text-in-programlisting-into-CDATA.patch | 76 ++++++++++++++++++++++ meta/recipes-support/libfm/libfm_1.2.5.bb | 4 +- 2 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libfm/libfm/0001-Enclose-text-in-programlisting-into-CDATA.patch (limited to 'meta/recipes-support') diff --git a/meta/recipes-support/libfm/libfm/0001-Enclose-text-in-programlisting-into-CDATA.patch b/meta/recipes-support/libfm/libfm/0001-Enclose-text-in-programlisting-into-CDATA.patch new file mode 100644 index 0000000000..40e53291e1 --- /dev/null +++ b/meta/recipes-support/libfm/libfm/0001-Enclose-text-in-programlisting-into-CDATA.patch @@ -0,0 +1,76 @@ +From ed4ca8c0b17ff5d3c768b92409c1787e3f3f1841 Mon Sep 17 00:00:00 2001 +From: Andriy Grytsenko +Date: Sun, 26 Nov 2017 22:30:15 +0200 +Subject: [PATCH 2/2] Enclose text in into +--- + src/base/fm-module.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/src/base/fm-module.c b/src/base/fm-module.c +index d364b2d..2e8c978 100644 +--- a/src/base/fm-module.c ++++ b/src/base/fm-module.c +@@ -44,7 +44,7 @@ + * of that type should include: + * + * Sample of fm-dummy.h +- * ++ * + * + * #define FM_MODULE_dummy_VERSION 1 +@@ -54,7 +54,7 @@ + * } FmDummyInit; + * + * extern FmDummyInit fm_module_init_dummy; +- * ++ * ]]> + * + * The FM_MODULE_dummy_VERSION is a number which should be increased each + * time something in FmDummyInit structure is changed. The FmDummyInit +@@ -65,7 +65,7 @@ + * module handling in your code: + * + * Sample of fm-dummy-widget.c +- * ++ * get_new("test sample"); + * return result; + * } +- * ++ * ]]> + * + * + * Third thing application should do is to register module type on the +@@ -108,7 +108,7 @@ + * interface (see the fm-dummy.h header example above): + * + * Sample of module dummy/test +- * ++ * ++ * ]]> + * + * The fm_module_init_dummy should be exactly the same structure that is + * defined in the header file above. +-- +2.15.1 + diff --git a/meta/recipes-support/libfm/libfm_1.2.5.bb b/meta/recipes-support/libfm/libfm_1.2.5.bb index 6844243c1e..c1deea6853 100644 --- a/meta/recipes-support/libfm/libfm_1.2.5.bb +++ b/meta/recipes-support/libfm/libfm_1.2.5.bb @@ -12,7 +12,9 @@ SECTION = "x11/libs" DEPENDS = "glib-2.0 pango gtk+3 menu-cache intltool-native libexif libfm-extra gettext-native" SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz \ - file://0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch" + file://0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch \ + file://0001-Enclose-text-in-programlisting-into-CDATA.patch \ + " SRC_URI[md5sum] = "a1ba9ae5e920f38b647dd511edd6c807" SRC_URI[sha256sum] = "c706bb1020cf5f2d6f5a9226f692ce1985947134dcf2bde64278bd0420779b5a" -- cgit v1.2.3-54-g00ecf