diff options
Diffstat (limited to 'dev-libs/libtrain')
-rw-r--r-- | dev-libs/libtrain/Manifest | 6 | ||||
-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, 64 insertions, 0 deletions
diff --git a/dev-libs/libtrain/Manifest b/dev-libs/libtrain/Manifest new file mode 100644 index 000000000000..6f0438969739 --- /dev/null +++ b/dev-libs/libtrain/Manifest @@ -0,0 +1,6 @@ +AUX libtrain-0.9b-impl-dec.patch 764 SHA256 096da3ca6ed3fd28a9834e5145a22ff97a8209440457ce3f4515ef8af6f64777 SHA512 81ceb3302b21696dffcfb2b17ce0578a3ba5332ff072548022baada912fba8e9aa368af63ef9c276c4c41b65c0b838f7b4a7379711b052846894232d27ffe158 WHIRLPOOL 49613bbd967579b63576114411fac194922e2f5dcc97abd600b7a4445bcc5b4cad040ed7f09e8e6e481160ebd2942f9c6df793a8d7bebaaef3e32ef186f57cc7 +DIST libtrain-0.9b.tar.gz 167075 SHA256 342f431307f37991dd2411ada3496d3104602ed6660f9ad98e431999b0772cad SHA512 72190d10a2d755ecdd791a2c90ab4de794fa9fe80b442824bc1bdfe04581db3fe6a6b4184928b7cec2c7221a999ff2a16ecf435554115d570ea714a72d7e9294 WHIRLPOOL ee8f56aff8cd3a91fb411596dbf2bbcea920ee9682f544f256a3e86ee22df52379da7e080ba40d879c5a3d24630606ba8f5d2c3b0ee95f641841ebe1e54ad95e +EBUILD libtrain-0.9b.ebuild 578 SHA256 09e1adb300a2d0011fb529f6ed731b03367ffa67419eb34a85c4901a81ce4005 SHA512 50a1488552cec6ccc5ba5acecba803f6183d04a16b730c8d6468d47b978cf4964a2636c0f8aaa774e42977d49cbd0c69930edebdda15c5346b62434a9833ccdd WHIRLPOOL ecc3e80e76f6ae074e70654af33d8ffe42554024611f9b1c0b0609210628722eb3f0a97424abc847d2b47be098d5bc385367f5d9cad767a1b363578d61e57975 +MISC ChangeLog 2560 SHA256 9c91f845d0856c4b23c142f7a1a04bfbb8109b68774362e9844473a3c24de5b6 SHA512 87af0bbfd09875010c4dfddb2d02fe02586c46b3b0050921bb110e21a9b44adaca2e71c64d6c936ab65f692da5e8f61917af15ff0c5a263f8d46ca174cf94bb1 WHIRLPOOL 332e3632c11797ee2b4f8b4cdc7a1be90524583ec8052b12a12aed0250fc09e57d090616a54c6d31be80c27ad0306654ba77629ceaaeff6258a7b0f707f6790b +MISC ChangeLog-2015 1588 SHA256 a129ce7d4c5d2aa7d0a0078e3aa0113c4369f629a972ccc3520bfc677bdbaa94 SHA512 66f9867dfb601ae7512cfcd831a068e33160e5fc4b940f64cd21bc6f36bccfd60aca9953b44be8cf8b50c0a8461e4e065afcae96c45459ed3f953f058521dbef WHIRLPOOL aa032e6392cdefa00c80455964e25af3d1c03ec67287d34b64a96fafc6b425a8464cd4e69f84f972a429094cc467c657c016d6d54df1c4e10f649b1d7a45bd6e +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 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> |