diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libtrain | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libtrain')
-rw-r--r-- | dev-libs/libtrain/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libtrain/files/libtrain-0.9b-impl-dec.patch | 29 | ||||
-rw-r--r-- | dev-libs/libtrain/libtrain-0.9b.ebuild | 24 | ||||
-rw-r--r-- | dev-libs/libtrain/metadata.xml | 5 |
4 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/libtrain/Manifest b/dev-libs/libtrain/Manifest new file mode 100644 index 000000000000..8c485de592cc --- /dev/null +++ b/dev-libs/libtrain/Manifest @@ -0,0 +1,4 @@ +AUX libtrain-0.9b-impl-dec.patch 764 BLAKE2B 8db57809976b5dd4819199c719bb44d07d3f6d9eff1a73b970a1acc0e23851302be16be0bb405b09d1273fda9c3f45ee58d9be0a449008675f7f924df0c09abe SHA512 81ceb3302b21696dffcfb2b17ce0578a3ba5332ff072548022baada912fba8e9aa368af63ef9c276c4c41b65c0b838f7b4a7379711b052846894232d27ffe158 +DIST libtrain-0.9b.tar.gz 167075 BLAKE2B e21c8fb7e2d3ee268ab3414da05026944cfd1ebcddd569be22acfef9f12bd4d75c1375c6e04284070b5481ab0947bfd1b89819bbbf629d697f05afbb8172dea5 SHA512 72190d10a2d755ecdd791a2c90ab4de794fa9fe80b442824bc1bdfe04581db3fe6a6b4184928b7cec2c7221a999ff2a16ecf435554115d570ea714a72d7e9294 +EBUILD libtrain-0.9b.ebuild 578 BLAKE2B 9b1914808e890f809603f5afd457602e9b5b2eee6d9eb82a74c998762489be0f52fe44a683ad5e8e45e93b65b2a569ce7c2432eeb7771be215cc3fedb83085dc SHA512 50a1488552cec6ccc5ba5acecba803f6183d04a16b730c8d6468d47b978cf4964a2636c0f8aaa774e42977d49cbd0c69930edebdda15c5346b62434a9833ccdd +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/dev-libs/libtrain/files/libtrain-0.9b-impl-dec.patch b/dev-libs/libtrain/files/libtrain-0.9b-impl-dec.patch new file mode 100644 index 000000000000..7cc2339cf8ef --- /dev/null +++ b/dev-libs/libtrain/files/libtrain-0.9b-impl-dec.patch @@ -0,0 +1,29 @@ + libtrain/lcommon.c | 1 + + libtrain/roma.c | 2 ++ + 2 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/libtrain/lcommon.c b/libtrain/lcommon.c +index 8519c86..01a775e 100644 +--- a/libtrain/lcommon.c ++++ b/libtrain/lcommon.c +@@ -2,6 +2,7 @@ + /* this file is modified by FURUKAWA Yo (you@ss.iij4u.or.jp) */ + + #include "lfunc.h" ++#include <string.h> + + BYTE Tmpbuf[ 256 ] ; + char FileBuf[ 1024 ] ; +diff --git a/libtrain/roma.c b/libtrain/roma.c +index e61a428..41b969c 100644 +--- a/libtrain/roma.c ++++ b/libtrain/roma.c +@@ -13,6 +13,8 @@ + #include <string.h> + #endif /* MAIN */ + ++#include <string.h> ++ + #define Strlen(s) strlen((s)) + #define Strcpy(d,s) strcpy((d),(s)) + #define iskanji(x) (((x)>=0x81 && (x)<=0x9F)||((x)>=0xE0 && (x)<=0xFC)) diff --git a/dev-libs/libtrain/libtrain-0.9b.ebuild b/dev-libs/libtrain/libtrain-0.9b.ebuild new file mode 100644 index 000000000000..c41c9c883d56 --- /dev/null +++ b/dev-libs/libtrain/libtrain-0.9b.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils + +DESCRIPTION="Library for calculating fastest train routes" +SRC_URI="http://www.on.rim.or.jp/~katamuki/software/train/${P}.tar.gz" +HOMEPAGE="http://www.on.rim.or.jp/~katamuki/software/train/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~ppc sparc x86" +IUSE="debug static-libs " + +PATCHES=( "${FILESDIR}"/${P}-impl-dec.patch ) + +src_configure() { + local myeconfargs=( $(use_enable debug) ) + autotools-utils_src_configure +} diff --git a/dev-libs/libtrain/metadata.xml b/dev-libs/libtrain/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/libtrain/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |