diff options
Diffstat (limited to 'app-text/liblangtag/files')
-rw-r--r-- | app-text/liblangtag/files/liblangtag-0.5.1-gcc45.patch | 30 | ||||
-rw-r--r-- | app-text/liblangtag/files/liblangtag-0.5.6-musl.patch | 25 |
2 files changed, 55 insertions, 0 deletions
diff --git a/app-text/liblangtag/files/liblangtag-0.5.1-gcc45.patch b/app-text/liblangtag/files/liblangtag-0.5.1-gcc45.patch new file mode 100644 index 000000000000..61bd1d041f7c --- /dev/null +++ b/app-text/liblangtag/files/liblangtag-0.5.1-gcc45.patch @@ -0,0 +1,30 @@ +From 4a5ec00d229d9ccf293dc21ce64eb42de7e8118c Mon Sep 17 00:00:00 2001 +From: Jung-uk Kim <jkim@FreeBSD.org> +Date: Thu, 9 May 2013 15:59:35 -0400 +Subject: [PATCH] Fix duplicate typedef introduced in 57c47aa. + +--- + liblangtag/lt-trie.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/liblangtag/lt-trie.c b/liblangtag/lt-trie.c +index d2162c9..301a6da 100644 +--- a/liblangtag/lt-trie.c ++++ b/liblangtag/lt-trie.c +@@ -33,11 +33,11 @@ struct _lt_trie_t { + lt_iter_tmpl_t parent; + lt_trie_node_t *root; + }; +-typedef struct _lt_trie_iter_t { ++struct _lt_trie_iter_t { + lt_iter_t parent; + lt_list_t *stack; + lt_string_t *pos_str; +-} lt_trie_iter_t; ++}; + + /*< private >*/ + static lt_trie_node_t * +-- +1.8.2.3 + diff --git a/app-text/liblangtag/files/liblangtag-0.5.6-musl.patch b/app-text/liblangtag/files/liblangtag-0.5.6-musl.patch new file mode 100644 index 000000000000..e6d1d1184cea --- /dev/null +++ b/app-text/liblangtag/files/liblangtag-0.5.6-musl.patch @@ -0,0 +1,25 @@ +From 6ebf5709810983dca570d9f8873293b01b4a49bc Mon Sep 17 00:00:00 2001 +From: Akira TAGOH <akira@tagoh.org> +Date: Mon, 20 Apr 2015 10:28:29 +0900 +Subject: [PATCH] add missing sys/types.h in lt-string.h required to build musl + libc to satisfy ssize_t. (fixes issue#12) + +--- + liblangtag/lt-string.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/liblangtag/lt-string.h b/liblangtag/lt-string.h +index 15724fc..c784430 100644 +--- a/liblangtag/lt-string.h ++++ b/liblangtag/lt-string.h +@@ -18,6 +18,7 @@ + #define __LT_STRING_H__ + + #include <liblangtag/lt-macros.h> ++#include <sys/types.h> + + LT_BEGIN_DECLS + +-- +2.4.1 + |