summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortt_1 <herrtimson@yahoo.de>2015-05-02 19:50:23 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-05-02 19:50:23 -0400
commit083c471384085bd67a1fe0b7a288a2f887d0798a (patch)
treef3ea3852a9cd1ff6fcb770d560937cf9242f9b58
parent8612d878967806a5cca28ba9075daf9d2087023a (diff)
downloadhardened-dev-083c471384085bd67a1fe0b7a288a2f887d0798a.tar.gz
hardened-dev-083c471384085bd67a1fe0b7a288a2f887d0798a.tar.bz2
hardened-dev-083c471384085bd67a1fe0b7a288a2f887d0798a.tar.xz
hardened-dev-083c471384085bd67a1fe0b7a288a2f887d0798a.zip
app-office/liblangtag: bug #547368.
-rw-r--r--app-office/liblangtag/Manifest5
-rw-r--r--app-office/liblangtag/files/liblangtag-0.5.1-gcc45.patch30
-rw-r--r--app-office/liblangtag/files/liblangtag-0.5.1-musl.patch11
-rw-r--r--app-office/liblangtag/liblangtag-0.5.1-r99.ebuild46
-rw-r--r--app-office/liblangtag/metadata.xml8
5 files changed, 100 insertions, 0 deletions
diff --git a/app-office/liblangtag/Manifest b/app-office/liblangtag/Manifest
new file mode 100644
index 0000000..83b80a0
--- /dev/null
+++ b/app-office/liblangtag/Manifest
@@ -0,0 +1,5 @@
+AUX liblangtag-0.5.1-gcc45.patch 737 SHA256 a4f5606eb811ef617ce042a505658d460d748809429bf43f6d8e85975b639ede SHA512 1f5c86c02c1223ac1dc0adee6e33564a75cc7ec261288bc6ab39c2ba5ce24c9e4c86b1b3b15cc04d204b31f195b126062b386a449aeba843256d3f54a72ad53f WHIRLPOOL 707724f8ca4a054b4784a35d15c5d5d5bcecc88e7cd1856a6110b9135cb9993f9622f6e4d9e15e6c99cedf1ee3266ff89c3dd80bb90c606d338bc7320584ee73
+AUX liblangtag-0.5.1-musl.patch 381 SHA256 a6afb23564ac2c0bda85f9b780b7241721ea7ea9f30a101f57ea5ab68f1152bf SHA512 5d9d94e9f5d31b8b8208fe95a650e44e8ed3dded1d9f0cd4399fea82e3a79c145540751e7dccdae31f66b5406166cc0fa7dc2141b26b8ecc8efe5b55f7c68f65 WHIRLPOOL 37e380f42e1704a34448fe719a6c3eb0d9f099f221acae4992ee958deb847109879b9ef2b00ea495d4fbc2d1b9d3b0889a3581929d603034fc59bbb0f8eeff70
+DIST liblangtag-0.5.1.tar.bz2 651785 SHA256 c3dd456762cd0b5fd1687f066c4bdf253d70b14729851b9cd05936a1cb46923b SHA512 006ed5b8621bfc4330589eeba8581dd2214a29c985f782b0c123012105ac6ea447f1d7593daec86b0126daf7929e6845208c633c63df67beca2d6201a6961bbf WHIRLPOOL 80f48834b00ba7732f07a7e88ae092a3f0f0168c3de176ad0544e130b8e0c3991a169ed4d502cdc9aff0af1fe3df43ac961d4c8517b9240b9934ea901c0626e5
+EBUILD liblangtag-0.5.1-r99.ebuild 1137 SHA256 0b76e574639783ae175a8b153741e6c0a19900221287e59cbadcf46da8f29f14 SHA512 9538e20496c1164ea1fef0874ec1ab1a3a0a82270c00b3a15d742b0b90b7d1a03af3637542066493f15dc22b9f16a0c1ba1ec47490745cd0e0cd9c0cd90377e3 WHIRLPOOL 3ee613ec0a306590e2dcc631651e5c675f22e8718849f384c4799915e4e5c15c4f2f88f3b0b4b0239da6d601746f35d40469813e3ff7c50a4354dc3fba1c0319
+MISC metadata.xml 284 SHA256 e937a46d00fe6cbe1cf553eeaf44f3308e413fca5fe652a4e74c35fe336d0610 SHA512 6b883e0602ff9b5dd1a0055adfd0b9a9a5d74f32b0961e733d32cae582ff45e6e0ee00121cc455ce0b4402c8c44e152bb1708a183b69cd6c893d078bc50b8420 WHIRLPOOL 1402cf934cc79c53a85edca224eb2268f2b2e0fca5dbb273822510eaa22b6a26da722b16cc6a575e9184fd49ae776deef32cbddaebbb0d6bc2a331000bb56d7b
diff --git a/app-office/liblangtag/files/liblangtag-0.5.1-gcc45.patch b/app-office/liblangtag/files/liblangtag-0.5.1-gcc45.patch
new file mode 100644
index 0000000..61bd1d0
--- /dev/null
+++ b/app-office/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-office/liblangtag/files/liblangtag-0.5.1-musl.patch b/app-office/liblangtag/files/liblangtag-0.5.1-musl.patch
new file mode 100644
index 0000000..5caba76
--- /dev/null
+++ b/app-office/liblangtag/files/liblangtag-0.5.1-musl.patch
@@ -0,0 +1,11 @@
+diff -ur a/liblangtag-0.5.1/liblangtag/lt-string.h b/liblangtag-0.5.1/liblangtag/lt-string.h
+--- a/liblangtag-0.5.1/liblangtag/lt-string.h 2012-12-13 10:59:17.000000000 -0200
++++ b/liblangtag-0.5.1/liblangtag/lt-string.h 2015-04-17 21:34:12.371262196 -0200
+@@ -18,6 +18,7 @@
+ #define __LT_STRING_H__
+
+ #include <liblangtag/lt-macros.h>
++#include <sys/types.h>
+
+ LT_BEGIN_DECLS
+
diff --git a/app-office/liblangtag/liblangtag-0.5.1-r99.ebuild b/app-office/liblangtag/liblangtag-0.5.1-r99.ebuild
new file mode 100644
index 0000000..fb10c99
--- /dev/null
+++ b/app-office/liblangtag/liblangtag-0.5.1-r99.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/liblangtag/liblangtag-0.5.1.ebuild,v 1.5 2013/07/30 07:09:38 scarabeus Exp $
+
+EAPI=5
+
+inherit autotools-utils
+
+DESCRIPTION="An interface library to access tags for identifying languages"
+HOMEPAGE="http://tagoh.bitbucket.org/liblangtag/"
+SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2"
+
+LICENSE="|| ( LGPL-3 MPL-1.1 )"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc x86"
+IUSE="introspection static-libs test"
+
+RDEPEND="
+ dev-libs/glib
+ dev-libs/libxml2
+ introspection? ( >=dev-libs/gobject-introspection-0.10.8 )"
+DEPEND="${RDEPEND}
+ dev-libs/gobject-introspection-common
+ sys-devel/gettext
+ test? ( dev-libs/check )"
+
+# Upstream expect liblangtag to be installed when one runs tests...
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/${P}-gcc45.patch"
+ "${FILESDIR}/${P}-musl.patch"
+)
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable introspection)
+ $(use_enable test)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ prune_libtool_files --all
+}
diff --git a/app-office/liblangtag/metadata.xml b/app-office/liblangtag/metadata.xml
new file mode 100644
index 0000000..5aa863f
--- /dev/null
+++ b/app-office/liblangtag/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>openoffice</herd>
+ <use>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
+ </use>
+</pkgmetadata>