summaryrefslogtreecommitdiff
path: root/japanese/okphone/files
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-12-03 06:25:41 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-12-03 06:25:41 +0000
commit670b20af8f1764a7b8e2d79e5d94e1e9cbe19daf (patch)
tree2c0cdfa8c0e02d4ed85bb82aa18010c486310eb1 /japanese/okphone/files
parentUse -fPIC instead of -fpic to fix build on sparc64 (diff)
Partially fix build on -current (remove bogus duplicate declarations
and #include <errno.h>).
Notes
Notes: svn path=/head/; revision=71346
Diffstat (limited to 'japanese/okphone/files')
-rw-r--r--japanese/okphone/files/patch-af12
-rw-r--r--japanese/okphone/files/patch-ag21
-rw-r--r--japanese/okphone/files/patch-ah16
3 files changed, 49 insertions, 0 deletions
diff --git a/japanese/okphone/files/patch-af b/japanese/okphone/files/patch-af
new file mode 100644
index 000000000000..b96be7d95f1c
--- /dev/null
+++ b/japanese/okphone/files/patch-af
@@ -0,0 +1,12 @@
+--- ./conv/convd.c.orig Mon Dec 2 22:26:48 2002
++++ ./conv/convd.c Mon Dec 2 22:26:54 2002
+@@ -406,8 +406,8 @@
+ {
+ #ifndef __FreeBSD__
+ extern char *sys_errlist[];
+-#endif
+ extern int sys_nerr;
++#endif
+ char buf[128];
+ char mesg[256];
+ char host[32];
diff --git a/japanese/okphone/files/patch-ag b/japanese/okphone/files/patch-ag
new file mode 100644
index 000000000000..9e7ae910dcbd
--- /dev/null
+++ b/japanese/okphone/files/patch-ag
@@ -0,0 +1,21 @@
+--- ./client/misc.c.orig Mon Dec 2 22:27:53 2002
++++ ./client/misc.c Mon Dec 2 22:28:24 2002
+@@ -1,3 +1,4 @@
++#include <errno.h>
+ #include "defs.h"
+ #undef echo()
+ #undef noecho()
+@@ -27,11 +28,11 @@
+ int fatal;
+ char *mesg;
+ {
+- extern int errno;
+ #ifndef __FreeBSD__
++ extern int errno;
+ extern char *sys_errlist[];
+-#endif
+ extern int sys_nerr;
++#endif
+ char buf[80];
+
+ if (errno) {
diff --git a/japanese/okphone/files/patch-ah b/japanese/okphone/files/patch-ah
new file mode 100644
index 000000000000..b6785ce6a1eb
--- /dev/null
+++ b/japanese/okphone/files/patch-ah
@@ -0,0 +1,16 @@
+--- ./master/daemon.c.orig Mon Dec 2 22:27:23 2002
++++ ./master/daemon.c Mon Dec 2 22:27:31 2002
+@@ -111,11 +111,11 @@
+ char *
+ error ()
+ {
+- extern int errno;
+ #ifndef __FreeBSD__
++ extern int errno;
+ extern char *sys_errlist[];
+-#endif
+ extern int sys_nerr;
++#endif
+
+ if (errno > sys_nerr)
+ return ("Unknown error.");