liblangtag: fix issues caused by update to 0.6.0 without testing properly

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2016-07-31 16:29:51 +02:00
parent 0c710325cc
commit 912ae9f4d4
2 changed files with 44 additions and 1 deletions

View File

@@ -0,0 +1,40 @@
From f82fc1451c10d93be031e18935e5ea7589e3f602 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
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 <schnitzeltony@googlemail.com>
---
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

View File

@@ -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"