pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/inputmethod/sj3-lib Add some patches for portability a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/523a31c0548c
branches: trunk
changeset: 399866:523a31c0548c
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Oct 06 17:41:49 2009 +0000
description:
Add some patches for portability and GCC 4 issues.
diffstat:
inputmethod/sj3-lib/distinfo | 8 +++++++-
inputmethod/sj3-lib/patches/patch-az | 15 +++++++++++++++
inputmethod/sj3-lib/patches/patch-ba | 22 ++++++++++++++++++++++
inputmethod/sj3-lib/patches/patch-bb | 13 +++++++++++++
inputmethod/sj3-lib/patches/patch-bc | 13 +++++++++++++
inputmethod/sj3-lib/patches/patch-bd | 13 +++++++++++++
inputmethod/sj3-lib/patches/patch-be | 13 +++++++++++++
7 files changed, 96 insertions(+), 1 deletions(-)
diffs (132 lines):
diff -r b99f82bd8ad0 -r 523a31c0548c inputmethod/sj3-lib/distinfo
--- a/inputmethod/sj3-lib/distinfo Tue Oct 06 17:27:51 2009 +0000
+++ b/inputmethod/sj3-lib/distinfo Tue Oct 06 17:41:49 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2005/12/02 22:57:32 joerg Exp $
+$NetBSD: distinfo,v 1.9 2009/10/06 17:41:49 joerg Exp $
SHA1 (sj3-2.0.1.20.tar.gz) = b1cae59065ebc9caf5e198143ceb9558c932f259
RMD160 (sj3-2.0.1.20.tar.gz) = b25f2c585485516fddf3b9168e4cb8552cd26f71
@@ -27,3 +27,9 @@
SHA1 (patch-aw) = 078fa620e5fe099441dbc6fcba36a0441cc222ca
SHA1 (patch-ax) = 3ea04cd507909c6dd6b0163230dd03b8c21fbced
SHA1 (patch-ay) = ec24897bab84adda7873995f708eb70e1a6f03a7
+SHA1 (patch-az) = b8cbe3decf83c3b1dca10dfc674988423f3cd998
+SHA1 (patch-ba) = 773d37a4125ecf0c76aaef679a5b944a034bf4c9
+SHA1 (patch-bb) = c75a239de17f67647e3e87ff87b5f371f9614566
+SHA1 (patch-bc) = ccdacbab35ab001f57010af9fc3071eb4c42348f
+SHA1 (patch-bd) = f29a875734c17c7e6d4b51db081b58af1baf4d04
+SHA1 (patch-be) = e59571ea5d7036900f48a8df75a79de77f9a5594
diff -r b99f82bd8ad0 -r 523a31c0548c inputmethod/sj3-lib/patches/patch-az
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/sj3-lib/patches/patch-az Tue Oct 06 17:41:49 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-az,v 1.1 2009/10/06 17:41:49 joerg Exp $
+
+--- sj3dic/sjrc.c.orig 2009-10-06 19:30:07.000000000 +0200
++++ sj3dic/sjrc.c
+@@ -108,9 +108,8 @@ sjset_code()
+
+ getsjrc ()
+ {
+- FILE *fd, *fopen();
++ FILE *fd;
+ register char *p;
+- char *getenv();
+
+ sjset_code();
+ RCfile[0] = '\0';
diff -r b99f82bd8ad0 -r 523a31c0548c inputmethod/sj3-lib/patches/patch-ba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/sj3-lib/patches/patch-ba Tue Oct 06 17:41:49 2009 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ba,v 1.1 2009/10/06 17:41:49 joerg Exp $
+
+--- sj3/nmttyslot.c.orig 2009-10-06 19:31:25.000000000 +0200
++++ sj3/nmttyslot.c
+@@ -40,14 +40,13 @@
+
+
+
++#include <string.h>
++#include <unistd.h>
+
+
+
+
+-
+-char *ttyname();
+-char *getttys();
+-char *strrchr();
++static char *getttys();
+ static char *ttys = "/etc/ttys";
+
+ #define NULL 0
diff -r b99f82bd8ad0 -r 523a31c0548c inputmethod/sj3-lib/patches/patch-bb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/sj3-lib/patches/patch-bb Tue Oct 06 17:41:49 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.1 2009/10/06 17:41:49 joerg Exp $
+
+--- sj3rkcv/sj3_rkcv.c.orig 2009-10-06 19:36:40.000000000 +0200
++++ sj3rkcv/sj3_rkcv.c
+@@ -33,7 +33,7 @@
+ * $SonyDate: 1995/02/10 06:02:25 $
+ */
+
+-
++#include <string.h>
+
+ #include "wchar16.h"
+ #include "sj.h"
diff -r b99f82bd8ad0 -r 523a31c0548c inputmethod/sj3-lib/patches/patch-bc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/sj3-lib/patches/patch-bc Tue Oct 06 17:41:49 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-bc,v 1.1 2009/10/06 17:41:49 joerg Exp $
+
+--- sj3dic/sjrc.c.orig 2009-10-06 19:37:25.000000000 +0200
++++ sj3dic/sjrc.c
+@@ -36,7 +36,7 @@
+
+
+
+-
++#include <string.h>
+ #include <stdio.h>
+ #include <locale.h>
+ #include <ctype.h>
diff -r b99f82bd8ad0 -r 523a31c0548c inputmethod/sj3-lib/patches/patch-bd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/sj3-lib/patches/patch-bd Tue Oct 06 17:41:49 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-bd,v 1.1 2009/10/06 17:41:49 joerg Exp $
+
+--- sj3dic/dictdisp.c.orig 2009-10-06 19:37:59.000000000 +0200
++++ sj3dic/dictdisp.c
+@@ -35,7 +35,7 @@
+
+
+
+-
++#include <string.h>
+ #include <stdio.h>
+ #include <ctype.h>
+
diff -r b99f82bd8ad0 -r 523a31c0548c inputmethod/sj3-lib/patches/patch-be
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/sj3-lib/patches/patch-be Tue Oct 06 17:41:49 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-be,v 1.1 2009/10/06 17:41:49 joerg Exp $
+
+--- sj3dic/codecnv.c.orig 2009-10-06 19:38:30.000000000 +0200
++++ sj3dic/codecnv.c
+@@ -35,7 +35,7 @@
+
+
+
+-
++#include <string.h>
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <locale.h>
Home |
Main Index |
Thread Index |
Old Index