From 912ae9f4d47ad5a7e320b6a606157e71749bb3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 31 Jul 2016 16:29:51 +0200 Subject: [PATCH] liblangtag: fix issues caused by update to 0.6.0 without testing properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- ...tag_filter_t-after-neum-to-fix-build.patch | 40 +++++++++++++++++++ .../liblangtag/liblangtag_0.6.0.bb | 5 ++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 recipes-support/liblangtag/files/0003-move-_lt_tag_filter_t-after-neum-to-fix-build.patch diff --git a/recipes-support/liblangtag/files/0003-move-_lt_tag_filter_t-after-neum-to-fix-build.patch b/recipes-support/liblangtag/files/0003-move-_lt_tag_filter_t-after-neum-to-fix-build.patch new file mode 100644 index 0000000..78abe42 --- /dev/null +++ b/recipes-support/liblangtag/files/0003-move-_lt_tag_filter_t-after-neum-to-fix-build.patch @@ -0,0 +1,40 @@ +From f82fc1451c10d93be031e18935e5ea7589e3f602 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 31 Jul 2016 16:09:00 +0200 +Subject: [PATCH] move _lt_tag_filter_t after neum to fix build +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller +--- + liblangtag/lt-tag.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/liblangtag/lt-tag.h b/liblangtag/lt-tag.h +index 939acf5..2cc3028 100644 +--- a/liblangtag/lt-tag.h ++++ b/liblangtag/lt-tag.h +@@ -53,8 +53,6 @@ typedef struct _lt_tag_t lt_tag_t; + * This is used as a binary count sequence with lt_tag_get_string_with_filter() + * to allow only given tags to be the outcome. + */ +-typedef enum _lt_tag_filter_t lt_tag_filter_t; +- + enum _lt_tag_filter_t { + LT_TAG_FILTER_NONE = 0, + LT_TAG_FILTER_LANGUAGE = 1 << 0, +@@ -68,6 +66,8 @@ enum _lt_tag_filter_t { + LT_TAG_FILTER_ALL = -1 + }; + ++typedef enum _lt_tag_filter_t lt_tag_filter_t; ++ + lt_tag_t *lt_tag_new (void); + lt_tag_t *lt_tag_ref (lt_tag_t *tag); + void lt_tag_unref (lt_tag_t *tag); +-- +2.5.5 + diff --git a/recipes-support/liblangtag/liblangtag_0.6.0.bb b/recipes-support/liblangtag/liblangtag_0.6.0.bb index 326a829..b2cb958 100644 --- a/recipes-support/liblangtag/liblangtag_0.6.0.bb +++ b/recipes-support/liblangtag/liblangtag_0.6.0.bb @@ -2,13 +2,16 @@ SUMMARY = "An interface library to access tags for identifying languages" HOMEPAGE = "http://tagoh.bitbucket.org/liblangtag/" LICENSE = "LGPLv3" LIC_FILES_CHKSUM = " \ - file://COPYING;md5=815ca599c9df247a0c7f619bab123dad \ + file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02 \ " +DEPENDS = "libxml2" + SRC_URI = " \ https://bitbucket.org/tagoh/${BPN}/downloads/${BPN}-${PV}.tar.bz2 \ file://0001-configure.ac-add-missing-HAVE_INTROSPECTION-check.patch \ file://0002-configure.ac-remove-untranslated-AX_CHECK_ENABLE_DEB.patch \ + file://0003-move-_lt_tag_filter_t-after-neum-to-fix-build.patch \ " SRC_URI[md5sum] = "dcd7a845a8a9b57ca96eb04a29083246" SRC_URI[sha256sum] = "df84efd7e3e67cc8a38ece1e23f080c70ea29b26590ee324d03f1df37bf46576"