summaryrefslogtreecommitdiff
path: root/app-i18n/mecab-skkserv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-19 15:38:48 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-19 15:38:48 +0100
commit3b882b15eed3bb219b5f340b63733c8cda643079 (patch)
treec84890953bd9a939137323d667a7762da89f0f0c /app-i18n/mecab-skkserv
parent4d9aef45678c7cb55b24107642790224ab8c153b (diff)
gentoo auto-resync : 19:08:2023 - 15:38:48
Diffstat (limited to 'app-i18n/mecab-skkserv')
-rw-r--r--app-i18n/mecab-skkserv/Manifest2
-rw-r--r--app-i18n/mecab-skkserv/files/mecab-skkserv-missing-strcmp-clang16.patch11
-rw-r--r--app-i18n/mecab-skkserv/mecab-skkserv-0.03-r1.ebuild42
3 files changed, 55 insertions, 0 deletions
diff --git a/app-i18n/mecab-skkserv/Manifest b/app-i18n/mecab-skkserv/Manifest
index 210216577367..cb367c4682b2 100644
--- a/app-i18n/mecab-skkserv/Manifest
+++ b/app-i18n/mecab-skkserv/Manifest
@@ -1,7 +1,9 @@
AUX mecab-skkserv-cflags.patch 312 BLAKE2B 015a99b1645a278f59a959db91d52fe15608ebea7ab87edecfff4e56276d594849ed70db9bbfd4d45a0f77d425ed77d69e2475eec0c62e59b4dd0a1e1cc810c2 SHA512 7b3ae93eab4d0a13701c590d7cfd033fb3d34aa085beb59224bcd60823829c87674e0ee8edff2f8d73c204c56be668673e6dabd3ac5f60da34afae927bcc1106
AUX mecab-skkserv-dicrc.patch 146 BLAKE2B 7bf9969ad1d16f8f8a3cd1a8efaa970795ae3658f58fde4335732c0dd352b281fe9765bb09276cc72df0fbd3ccdf44c91e083b96e5cff71cb9d37e73d70f5ea5 SHA512 9c96b2c71e8c06c1a7e12c5c4952a9202d06943aebb1e96b63d00084f77822af657745dbf2c926358739723444a99be86537d638d3eea5728b4392a22471314d
AUX mecab-skkserv-getopt.patch 347 BLAKE2B 02332389fb70107d58e45fcb57e8a0883e29bb795e48731d84be74289b6b49fb6e52a75bc0e0bbacc37c7b2e17dc685ee07fe62527b0ad2deb8f632a06331257 SHA512 0edd393e1ed32f1a31778eec668d1f4ec5fd598251473af4e9ba74db71a67298927d973f552d589359dbb29c70f89f9d8e7fdb3e154608199614bf84aa9d438c
+AUX mecab-skkserv-missing-strcmp-clang16.patch 292 BLAKE2B 478d77bf79a2352a869b65ca6d6ad3b983eb0980ec02d3271f5d83c66c803eff476de7d491ea3d77907a2c42b6b01dd676913e64b936bc05802b647c11ce8478 SHA512 aca978edc1acc6a0e1e9d319c040db1c3fd0008292849406b9de8fdd0b7c677511a0a5c3de5a6cf9404ccd03673ecf3abe5a5cf54db59d2ba4de185ef7e8509e
AUX mecab-skkserv.xinetd 238 BLAKE2B cfb09ee995755129def89310cb16c512f030cbc3166bc67fffcb43c7031bc55bb7e582c2076853de5f32c809d4322363a681f085d943839ed387c31b1303a8aa SHA512 181ab3fb6abe4f4d7555db674881430d6149561459dbaca6fbc5081bfcba2154670e54a383dafd4b3339ed8f412a32d93f3c9024841c3b28c8c00808b5a5f366
DIST mecab-skkserv-0.03.tar.gz 5398452 BLAKE2B 89327edb34a66e0acc42942bee09d835c5ca7d5834513d818914dbff1c74b838c964f2ddf79a4684dba551a4f0fda0d12f63086f7fac4b68dcddf89831aff44f SHA512 268621035391ec780b8aa04980d668afc83410853d25f06b4578dba3d4e3803ebfea42aabde1325fd80edad7524a4658480e40a00c6bfec1f04310a8d47bb2c9
+EBUILD mecab-skkserv-0.03-r1.ebuild 870 BLAKE2B e335ae488ff6112c3bdc860e92410238c291cc226278b8b81b08cdef79472cded932188f35a20254611b856806a9f34e8a6d7ff99e8f714a1962665aab87b081 SHA512 3a9272bcd8d2adde3deab1bd55b1ec26586cfc893a9b6446e63d3ad80a4e9c19e6654e2c90d987552ac445c9dcc4f5fb6d76d1e9ba22c3025a956d7e176024aa
EBUILD mecab-skkserv-0.03.ebuild 823 BLAKE2B d381c7df93dd59a2a72fd5919d18ab1e3c35dfb316c3fe9968ff5ccb8f38e9eecb72ab3faf3a6942178c1676378db44b5c1374478f8f52cf2d786f616a89439e SHA512 66d8b8f387fa031891893f59f244c68200c2d0036758f87c67206f7471d158d52f3b0a24f3498fa4815aa515486f2605ba1010188a8b8e3c07cfec5e46402af8
MISC metadata.xml 241 BLAKE2B d06d8c9218cb9736ecc414504678e9bff30ba6bffbd2b357e9a2ea990df4e73a21b8ad4db267eddfdbf73e8501dabe5a748c4ea9d26906d39425ab744b320216 SHA512 cff6b46a252b531091d1ef597e3f714f98d2ef4aa621662d8c2ec15e4f990cd811300d3439e1be003bd307d0c8d12e78f34cf7fd49f6d006d9362f0e6ccf6252
diff --git a/app-i18n/mecab-skkserv/files/mecab-skkserv-missing-strcmp-clang16.patch b/app-i18n/mecab-skkserv/files/mecab-skkserv-missing-strcmp-clang16.patch
new file mode 100644
index 000000000000..dee8284c8d8e
--- /dev/null
+++ b/app-i18n/mecab-skkserv/files/mecab-skkserv-missing-strcmp-clang16.patch
@@ -0,0 +1,11 @@
+Closes: https://bugs.gentoo.org/894518
+--- a/getopt.c
++++ b/getopt.c
+@@ -40,6 +40,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <string.h>
+
+ /* Comment out all this code if we are using the GNU C Library, and are not
+ actually compiling the library itself. This code is part of the GNU C
diff --git a/app-i18n/mecab-skkserv/mecab-skkserv-0.03-r1.ebuild b/app-i18n/mecab-skkserv/mecab-skkserv-0.03-r1.ebuild
new file mode 100644
index 000000000000..7bb86ee64ec9
--- /dev/null
+++ b/app-i18n/mecab-skkserv/mecab-skkserv-0.03-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit autotools
+
+DESCRIPTION="mecab-skkserv is a Kana-Kanji conversion server using MeCab"
+HOMEPAGE="http://chasen.org/~taku/software/mecab-skkserv/"
+SRC_URI="http://chasen.org/~taku/software/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 ipadic"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-text/mecab"
+RDEPEND="${DEPEND}
+ sys-apps/xinetd"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-cflags.patch
+ "${FILESDIR}"/${PN}-dicrc.patch
+ "${FILESDIR}"/${PN}-getopt.patch
+ "${FILESDIR}"/${PN}-missing-strcmp-clang16.patch
+)
+HTML_DOCS=( index.html ${PN}.css )
+
+src_prepare() {
+ sed -i "/^dictdir/s:lib:$(get_libdir):" Makefile.am
+
+ default
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/${PN}.xinetd ${PN}
+}