diff options
author | joerg <joerg@pkgsrc.org> | 2009-10-06 17:41:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-10-06 17:41:49 +0000 |
commit | 661646ce254810c75da2463c367e220a039b6da8 (patch) | |
tree | 7f949ba1e8a494dd93ec76694176f469866e58a1 | |
parent | 7c993376d13a8dff37565238bc3d3a6bb6ac0c52 (diff) | |
download | pkgsrc-661646ce254810c75da2463c367e220a039b6da8.tar.gz |
Add some patches for portability and GCC 4 issues.
-rw-r--r-- | inputmethod/sj3-lib/distinfo | 8 | ||||
-rw-r--r-- | inputmethod/sj3-lib/patches/patch-az | 15 | ||||
-rw-r--r-- | inputmethod/sj3-lib/patches/patch-ba | 22 | ||||
-rw-r--r-- | inputmethod/sj3-lib/patches/patch-bb | 13 | ||||
-rw-r--r-- | inputmethod/sj3-lib/patches/patch-bc | 13 | ||||
-rw-r--r-- | inputmethod/sj3-lib/patches/patch-bd | 13 | ||||
-rw-r--r-- | inputmethod/sj3-lib/patches/patch-be | 13 |
7 files changed, 96 insertions, 1 deletions
diff --git a/inputmethod/sj3-lib/distinfo b/inputmethod/sj3-lib/distinfo index ac577e6203b..e6b68f1bf22 100644 --- a/inputmethod/sj3-lib/distinfo +++ b/inputmethod/sj3-lib/distinfo @@ -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-av) = 6e2569b3240d09bfd57b2dcde8611e5b9ed9bf14 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 --git a/inputmethod/sj3-lib/patches/patch-az b/inputmethod/sj3-lib/patches/patch-az new file mode 100644 index 00000000000..239953277cf --- /dev/null +++ b/inputmethod/sj3-lib/patches/patch-az @@ -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 --git a/inputmethod/sj3-lib/patches/patch-ba b/inputmethod/sj3-lib/patches/patch-ba new file mode 100644 index 00000000000..0f54d40443a --- /dev/null +++ b/inputmethod/sj3-lib/patches/patch-ba @@ -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 --git a/inputmethod/sj3-lib/patches/patch-bb b/inputmethod/sj3-lib/patches/patch-bb new file mode 100644 index 00000000000..9ac651adeda --- /dev/null +++ b/inputmethod/sj3-lib/patches/patch-bb @@ -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 --git a/inputmethod/sj3-lib/patches/patch-bc b/inputmethod/sj3-lib/patches/patch-bc new file mode 100644 index 00000000000..28ebc770abd --- /dev/null +++ b/inputmethod/sj3-lib/patches/patch-bc @@ -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 --git a/inputmethod/sj3-lib/patches/patch-bd b/inputmethod/sj3-lib/patches/patch-bd new file mode 100644 index 00000000000..197cebc200a --- /dev/null +++ b/inputmethod/sj3-lib/patches/patch-bd @@ -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 --git a/inputmethod/sj3-lib/patches/patch-be b/inputmethod/sj3-lib/patches/patch-be new file mode 100644 index 00000000000..1ccdd0f363c --- /dev/null +++ b/inputmethod/sj3-lib/patches/patch-be @@ -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> |