summaryrefslogtreecommitdiff
path: root/misc/xjdic
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-03 16:00:57 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-03 16:00:57 +0000
commitdd108bbd7bb104ab128a0d94ed7366366b77c19e (patch)
tree324eb7f0ce83a79dcb1333a2cd061b5c6e48da5c /misc/xjdic
parent758fd9f74ae1184038b83b07df516299e7cc8022 (diff)
downloadpkgsrc-dd108bbd7bb104ab128a0d94ed7366366b77c19e.tar.gz
Fix errno.
Diffstat (limited to 'misc/xjdic')
-rw-r--r--misc/xjdic/distinfo4
-rw-r--r--misc/xjdic/patches/patch-ad20
-rw-r--r--misc/xjdic/patches/patch-ae21
3 files changed, 44 insertions, 1 deletions
diff --git a/misc/xjdic/distinfo b/misc/xjdic/distinfo
index 4c393a739b9..40fd2117362 100644
--- a/misc/xjdic/distinfo
+++ b/misc/xjdic/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 11:02:59 agc Exp $
+$NetBSD: distinfo,v 1.6 2006/01/03 16:00:57 joerg Exp $
SHA1 (xjdic24.tgz) = 732b2922c3e7229baedfb8be958dc3b92a8a06b8
RMD160 (xjdic24.tgz) = 25662aa7bd9538d00656983394e329a888ecfdf3
@@ -6,3 +6,5 @@ Size (xjdic24.tgz) = 140091 bytes
SHA1 (patch-aa) = 7e3dad15962b0ac69bf25c6f98cbbff8925aed8d
SHA1 (patch-ab) = 26bfeffcb8d56d99922164410b9ffe98ec5e8412
SHA1 (patch-ac) = 06e8b8ebace1c12e7dbf944d9d6b34d8f5c9acc8
+SHA1 (patch-ad) = 57cf0f53d498c7c4af9dfa3dbf6fd76c4f3dfa26
+SHA1 (patch-ae) = 62f4b5034607764a4603ae4c285f7f97ce5d0c5a
diff --git a/misc/xjdic/patches/patch-ad b/misc/xjdic/patches/patch-ad
new file mode 100644
index 00000000000..53881c499b7
--- /dev/null
+++ b/misc/xjdic/patches/patch-ad
@@ -0,0 +1,20 @@
+$NetBSD: patch-ad,v 1.1 2006/01/03 16:00:57 joerg Exp $
+
+--- xjdclient.c.orig 2006-01-03 15:57:52.000000000 +0000
++++ xjdclient.c
+@@ -26,6 +26,7 @@
+
+ #include <stdio.h>
+ #include <ctype.h>
++#include <errno.h>
+ #include <string.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -40,7 +41,6 @@
+
+ #define CVERBOSE 0
+ int chk_cnt=0;
+-extern int errno;
+ unsigned char host[51] = {"localhost"};
+ unsigned char yn[2];
+ unsigned int portno = XJ_PORTNO;
diff --git a/misc/xjdic/patches/patch-ae b/misc/xjdic/patches/patch-ae
new file mode 100644
index 00000000000..e5137929ca6
--- /dev/null
+++ b/misc/xjdic/patches/patch-ae
@@ -0,0 +1,21 @@
+$NetBSD: patch-ae,v 1.1 2006/01/03 16:00:57 joerg Exp $
+
+--- xjdserver.c.orig 2006-01-03 15:59:16.000000000 +0000
++++ xjdserver.c
+@@ -20,6 +20,7 @@
+
+ #include <stdio.h>
+ #include <ctype.h>
++#include <errno.h>
+ #include <string.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -56,8 +57,6 @@ int jiver = 14;
+ int thisdic = 0;
+ int DicNum;
+
+-extern int errno;
+-
+ extern unsigned char Dnamet[10][100],XJDXnamet[10][100];
+ extern unsigned char *dicbufft[10];
+ extern unsigned long diclent[10], indlent[10],indptrt[10];