public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-i18n/mecab-skkserv/, app-i18n/mecab-skkserv/files/
@ 2017-07-01 14:01 Akinori Hattori
  0 siblings, 0 replies; 3+ messages in thread
From: Akinori Hattori @ 2017-07-01 14:01 UTC (permalink / raw
  To: gentoo-commits

commit:     9f51bd6314fbf534828d1a8323154f85a6c69f1e
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  1 13:58:49 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Jul  1 13:58:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f51bd63

app-i18n/mecab-skkserv: update patches

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 ...mecab-skkserv-0.03-cflags.patch => mecab-skkserv-cflags.patch} | 2 --
 .../{mecab-skkserv-0.03-dicrc.patch => mecab-skkserv-dicrc.patch} | 2 --
 app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild                  | 8 ++++----
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-cflags.patch b/app-i18n/mecab-skkserv/files/mecab-skkserv-cflags.patch
similarity index 81%
rename from app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-cflags.patch
rename to app-i18n/mecab-skkserv/files/mecab-skkserv-cflags.patch
index 6144d69f282..4dcb1abc326 100644
--- a/app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-cflags.patch
+++ b/app-i18n/mecab-skkserv/files/mecab-skkserv-cflags.patch
@@ -1,5 +1,3 @@
-diff --git a/configure.in b/configure.in
-index c7c00aa..a2c7a9e 100644
 --- a/configure.in
 +++ b/configure.in
 @@ -19,8 +19,8 @@ AC_CHECK_FUNCS(getopt)

diff --git a/app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-dicrc.patch b/app-i18n/mecab-skkserv/files/mecab-skkserv-dicrc.patch
similarity index 71%
rename from app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-dicrc.patch
rename to app-i18n/mecab-skkserv/files/mecab-skkserv-dicrc.patch
index 3cd8d611917..db7637775a4 100644
--- a/app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-dicrc.patch
+++ b/app-i18n/mecab-skkserv/files/mecab-skkserv-dicrc.patch
@@ -1,5 +1,3 @@
-diff --git a/dicrc b/dicrc
-index cb6a53e..7f06086 100644
 --- a/dicrc
 +++ b/dicrc
 @@ -2,3 +2,4 @@ bos-feature = BOS/EOS

diff --git a/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild b/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild
index 7353547c570..631f686db7d 100644
--- a/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild
+++ b/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -21,9 +21,9 @@ RDEPEND="${DEPEND}
 DOCS=( README NEWS AUTHORS )
 HTML_DOCS=( index.html )
 PATCHES=(
-	"${FILESDIR}"/${P}-cflags.patch
-	"${FILESDIR}"/${P}-dicrc.patch
-	)
+	"${FILESDIR}"/${PN}-cflags.patch
+	"${FILESDIR}"/${PN}-dicrc.patch
+)
 AUTOTOOLS_AUTORECONF=1
 AUTOTOOLS_IN_SOURCE_BUILD=1
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/mecab-skkserv/, app-i18n/mecab-skkserv/files/
@ 2017-12-14 12:47 Akinori Hattori
  0 siblings, 0 replies; 3+ messages in thread
From: Akinori Hattori @ 2017-12-14 12:47 UTC (permalink / raw
  To: gentoo-commits

commit:     a499739385626d72c4a6bf5b562be9bdafa3819b
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 14 12:45:49 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Thu Dec 14 12:45:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4997393

app-i18n/mecab-skkserv: fix build with >=sys-libs/glibc-2.26

Closes: https://bugs.gentoo.org/637378
Package-Manager: Portage-2.3.13, Repoman-2.3.4

 .../mecab-skkserv/files/mecab-skkserv-getopt.patch    | 19 +++++++++++++++++++
 app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild      |  1 +
 2 files changed, 20 insertions(+)

diff --git a/app-i18n/mecab-skkserv/files/mecab-skkserv-getopt.patch b/app-i18n/mecab-skkserv/files/mecab-skkserv-getopt.patch
new file mode 100644
index 00000000000..24b5017a28b
--- /dev/null
+++ b/app-i18n/mecab-skkserv/files/mecab-skkserv-getopt.patch
@@ -0,0 +1,19 @@
+--- a/mecab-skkserv.cpp
++++ b/mecab-skkserv.cpp
+@@ -33,15 +33,9 @@
+ #include <stdexcept>
+ #include <set>
+ 
+-#ifdef HAVE_GETOPT_H
+-#include <getopt.h>
+-#endif
+-
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+-#endif
+-
+-#if defined HAVE_GETOPT_H && defined HAVE_GETOPT_LONG
++#elif defined(HAVE_GETOPT_H)
+ #include <getopt.h>
+ #else
+ #include "getopt.h"

diff --git a/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild b/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild
index 18326fe43ba..3f49e98dfc9 100644
--- a/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild
+++ b/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild
@@ -21,6 +21,7 @@ RDEPEND="${DEPEND}
 PATCHES=(
 	"${FILESDIR}"/${PN}-cflags.patch
 	"${FILESDIR}"/${PN}-dicrc.patch
+	"${FILESDIR}"/${PN}-getopt.patch
 )
 HTML_DOCS=( index.html ${PN}.css )
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/mecab-skkserv/, app-i18n/mecab-skkserv/files/
@ 2023-08-19 12:51 Joonas Niilola
  0 siblings, 0 replies; 3+ messages in thread
From: Joonas Niilola @ 2023-08-19 12:51 UTC (permalink / raw
  To: gentoo-commits

commit:     369833578fc4b514a146bbed749ed24efdac851b
Author:     Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Wed Aug  2 16:30:44 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Aug 19 12:51:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36983357

app-i18n/mecab-skkserv: Fix call to undeclared library function strcmp

and update EAPI 6 -> 8

Closes: https://bugs.gentoo.org/894518
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32145
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../mecab-skkserv-missing-strcmp-clang16.patch     | 11 ++++++
 .../mecab-skkserv/mecab-skkserv-0.03-r1.ebuild     | 42 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

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}
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-19 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-14 12:47 [gentoo-commits] repo/gentoo:master commit in: app-i18n/mecab-skkserv/, app-i18n/mecab-skkserv/files/ Akinori Hattori
  -- strict thread matches above, loose matches on Subject: below --
2023-08-19 12:51 Joonas Niilola
2017-07-01 14:01 Akinori Hattori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox