[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] inputmethod/kinput2 ( by gcc-4)



>                                           千葉市中央区長洲
>                                                    藤原 誠
神戸さん、ありがとうございました。send-pr はどうしましょう ?


さて、もう一件、inputmethod/kinput2 がやはり止ってしまうので
次のような変更をしています。これを適用した時に、以前の環境で
大丈夫かは、まだ確かめていません(済みません)。

---
(藤原)
Index: distinfo
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/inputmethod/kinput2/distinfo,v
retrieving revision 1.3
diff -u -a -r1.3 distinfo
--- distinfo	23 Feb 2005 21:00:35 -0000	1.3
+++ distinfo	18 Jul 2006 00:54:54 -0000
@@ -5,3 +5,4 @@
 Size (kinput2-v3.tar.gz) = 462281 bytes
 SHA1 (patch-aa) = c41b2baa5de117c031c266afbff0e947340ab708
 SHA1 (patch-ab) = b2372ee1f50cc828eae4e8c6ca6d7bc6de11964b
+SHA1 (patch-ac) = 4b4322084b1cdc5d709cfedf9e2149ef736bda9b
Index: patches/patch-ac
===================================================================
RCS file: patches/patch-ac
diff -N patches/patch-ac
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-ac	18 Jul 2006 01:46:20 -0000	1.1
@@ -0,0 +1,24 @@
+$NetBSD$
+
+--- lib/wnnlib.c-orig	1999-05-27 08:55:26.000000000 +0900
++++ lib/wnnlib.c	2006-07-18 09:42:26.000000000 +0900
+@@ -620,8 +620,6 @@
+ 
+ #define MAXFZK	LENGTHBUNSETSU
+ 
+-extern char	*malloc();
+-extern char	*realloc();
+ extern void	free();
+ #ifdef SVR4
+ #define bcopy(p, q, l)	memmove(q, p, l)
+--- lib/cconv.c-orig	1999-05-27 08:55:25.000000000 +0900
++++ lib/cconv.c	2006-07-18 09:42:37.000000000 +0900
+@@ -756,8 +756,6 @@
+ 	FILE	*fp[MAXINC];
+ } Files;
+ 
+-extern char	*malloc();
+-extern char	*realloc();
+ 
+ #ifdef __STDC__
+ static int wstrlen(wchar *);