summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-12-03 06:25:41 +0000
committerkris <kris@FreeBSD.org>2002-12-03 06:25:41 +0000
commit5893f1e251d4e80352d70935638b174e183318f9 (patch)
tree4a5b948db24ba6203f05fe3ef25c1e6224dccff8
parent398ba90357f31f857da0189d5c70a852d2704cc7 (diff)
downloadFreeBSD-ports-5893f1e251d4e80352d70935638b174e183318f9.zip
FreeBSD-ports-5893f1e251d4e80352d70935638b174e183318f9.tar.gz
Partially fix build on -current (remove bogus duplicate declarations
and #include <errno.h>).
-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 0000000..b96be7d
--- /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 0000000..9e7ae91
--- /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 0000000..b6785ce
--- /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.");
OpenPOWER on IntegriCloud