[packages/nkf] Up to 2.1.5
arekm
arekm at pld-linux.org
Fri Nov 27 21:30:28 CET 2026
commit 1eade4a3c0286aa4d0a890579f467312d3d4aaac
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 14:37:08 2026 +0100
Up to 2.1.5
nkf.spec | 16 +++++++---------
types.patch | 20 --------------------
2 files changed, 7 insertions(+), 29 deletions(-)
---
diff --git a/nkf.spec b/nkf.spec
index 9f87c98..b547d55 100644
--- a/nkf.spec
+++ b/nkf.spec
@@ -5,15 +5,14 @@
Summary: Network Kanji code conversion Filter
Summary(pl.UTF-8): Sieciowy filtr konwertujący kod Kanji
Name: nkf
-Version: 2.02
-%define fver %(echo %{version} | tr -d .)
-Release: 21
+Version: 2.1.5
+%define fver %(echo %{version} | tr . _)
+Release: 1
License: BSD-like
Group: Applications/Text
-Source0: http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/%{name}%{fver}.tar.gz
-# Source0-md5: 5157b91879471b450997f4eec5af62e6
-Patch0: types.patch
-URL: http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/
+Source0: https://github.com/nurse/nkf/archive/v%{fver}/%{name}-%{version}.tar.gz
+# Source0-md5: d66cfec484d9baad5adc49ba00221e88
+URL: https://github.com/nurse/nkf
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,8 +51,7 @@ zwraca wynik konwersji. Szczegóły konwersji podaje się przy pomocy
flag przed ostatnim argumentem.
%prep
-%setup -q -n %{name}%{fver}
-%patch -P0 -p1
+%setup -q -n %{name}-%{fver}
%build
%{__make} \
diff --git a/types.patch b/types.patch
deleted file mode 100644
index 123d993..0000000
--- a/types.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- nkf202/nkf.c.orig 2003-01-25 01:09:12.000000000 +0100
-+++ nkf202/nkf.c 2026-08-13 21:13:19.328545280 +0200
-@@ -259,7 +259,7 @@
- STATIC int kanji_convert PROTO((FILE *f));
- STATIC int h_conv PROTO((FILE *f,int c2,int c1));
- STATIC int push_hold_buf PROTO((int c2));
--STATIC void set_iconv PROTO((int f, int (*iconv_func)()));
-+STATIC void set_iconv PROTO((int f, int (*iconv_func)(int,int,int)));
- STATIC int s_iconv PROTO((int c2,int c1,int c0));
- STATIC int s2e_conv PROTO((int c2, int c1, int *p2, int *p1));
- STATIC int e_iconv PROTO((int c2,int c1,int c0));
-@@ -1087,7 +1087,7 @@
- #endif
- {
- #ifdef CHECK_OPTION
-- static int (*iconv_for_check)() = 0;
-+ static int (*iconv_for_check)(int, int, int) = 0;
- #endif
- #ifdef INPUT_CODE_FIX
- if (f || !input_f)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nkf.git/commitdiff/1eade4a3c0286aa4d0a890579f467312d3d4aaac
More information about the pld-cvs-commit
mailing list