summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2002-06-11 19:03:47 +0000
committerGreg Lewis <glewis@FreeBSD.org>2002-06-11 19:03:47 +0000
commit991bc4e41a66b9a9fd197245bbb95568fc23125d (patch)
tree549eddb526e989bbfd00d20764ca1a8b6e1752aa /java
parentAdd p5-Net-DNS-ZoneFile, a Perl extension to convert a zone file to a (diff)
. Fix compilation on FreeBSD 4.2 by including <sys/param.h>
PR: 36871 . Fix compilation on -CURRENT using gcc 3.1 by including <string.h> (for strlen(3)) Reported and tested by: John Angelmo <john@veidit.net> Reviewed by: sobomax Approved by: sobomax
Notes
Notes: svn path=/head/; revision=61131
Diffstat (limited to 'java')
-rw-r--r--java/jdk13/files/patch-utils.c20
-rw-r--r--java/jdk14/files/patch-utils.c20
-rw-r--r--java/jdk15/files/patch-utils.c20
-rw-r--r--java/jdk16/files/patch-utils.c20
4 files changed, 80 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-utils.c b/java/jdk13/files/patch-utils.c
new file mode 100644
index 000000000000..75f4b0be64e1
--- /dev/null
+++ b/java/jdk13/files/patch-utils.c
@@ -0,0 +1,20 @@
+$FreeBSD$
+
+--- ../ext/plugin/oji-plugin/src/motif/common/utils.c 25 Aug 2001 17:48:42 -0000 1.2
++++ ../ext/plugin/oji-plugin/src/motif/common/utils.c 10 Jun 2002 20:27:38 -0000
+@@ -10,6 +10,7 @@
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #ifndef SVR4
++#include <sys/param.h>
+ #include <sys/uio.h>
+ #endif
+ #include <fcntl.h>
+@@ -17,6 +18,7 @@
+ #include <locale.h>
+ #include <errno.h>
+ #include <strings.h>
++#include <string.h>
+ #include <dlfcn.h>
+ #include "plugin_defs.h"
+ #include "pluginversion.h"
diff --git a/java/jdk14/files/patch-utils.c b/java/jdk14/files/patch-utils.c
new file mode 100644
index 000000000000..75f4b0be64e1
--- /dev/null
+++ b/java/jdk14/files/patch-utils.c
@@ -0,0 +1,20 @@
+$FreeBSD$
+
+--- ../ext/plugin/oji-plugin/src/motif/common/utils.c 25 Aug 2001 17:48:42 -0000 1.2
++++ ../ext/plugin/oji-plugin/src/motif/common/utils.c 10 Jun 2002 20:27:38 -0000
+@@ -10,6 +10,7 @@
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #ifndef SVR4
++#include <sys/param.h>
+ #include <sys/uio.h>
+ #endif
+ #include <fcntl.h>
+@@ -17,6 +18,7 @@
+ #include <locale.h>
+ #include <errno.h>
+ #include <strings.h>
++#include <string.h>
+ #include <dlfcn.h>
+ #include "plugin_defs.h"
+ #include "pluginversion.h"
diff --git a/java/jdk15/files/patch-utils.c b/java/jdk15/files/patch-utils.c
new file mode 100644
index 000000000000..75f4b0be64e1
--- /dev/null
+++ b/java/jdk15/files/patch-utils.c
@@ -0,0 +1,20 @@
+$FreeBSD$
+
+--- ../ext/plugin/oji-plugin/src/motif/common/utils.c 25 Aug 2001 17:48:42 -0000 1.2
++++ ../ext/plugin/oji-plugin/src/motif/common/utils.c 10 Jun 2002 20:27:38 -0000
+@@ -10,6 +10,7 @@
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #ifndef SVR4
++#include <sys/param.h>
+ #include <sys/uio.h>
+ #endif
+ #include <fcntl.h>
+@@ -17,6 +18,7 @@
+ #include <locale.h>
+ #include <errno.h>
+ #include <strings.h>
++#include <string.h>
+ #include <dlfcn.h>
+ #include "plugin_defs.h"
+ #include "pluginversion.h"
diff --git a/java/jdk16/files/patch-utils.c b/java/jdk16/files/patch-utils.c
new file mode 100644
index 000000000000..75f4b0be64e1
--- /dev/null
+++ b/java/jdk16/files/patch-utils.c
@@ -0,0 +1,20 @@
+$FreeBSD$
+
+--- ../ext/plugin/oji-plugin/src/motif/common/utils.c 25 Aug 2001 17:48:42 -0000 1.2
++++ ../ext/plugin/oji-plugin/src/motif/common/utils.c 10 Jun 2002 20:27:38 -0000
+@@ -10,6 +10,7 @@
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #ifndef SVR4
++#include <sys/param.h>
+ #include <sys/uio.h>
+ #endif
+ #include <fcntl.h>
+@@ -17,6 +18,7 @@
+ #include <locale.h>
+ #include <errno.h>
+ #include <strings.h>
++#include <string.h>
+ #include <dlfcn.h>
+ #include "plugin_defs.h"
+ #include "pluginversion.h"