summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/jdk/Makefile1
-rw-r--r--java/jdk/files/patch-aa11
-rw-r--r--java/jdk11/Makefile1
-rw-r--r--java/jdk11/files/patch-aa11
4 files changed, 24 insertions, 0 deletions
diff --git a/java/jdk/Makefile b/java/jdk/Makefile
index fd3b8d241530..107201742b76 100644
--- a/java/jdk/Makefile
+++ b/java/jdk/Makefile
@@ -33,6 +33,7 @@ DISTFILES= jdk${JDK_VERSION}_ELF.V1999-11-9.tar.gz
.endif
do-install:
+ @${RM} -f ${WRKSRC}/include/freebsd/typedefs_md.h.orig
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
(cd ${WRKSRC} && ${TAR} -c -f - .) \
| (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -)
diff --git a/java/jdk/files/patch-aa b/java/jdk/files/patch-aa
new file mode 100644
index 000000000000..2b0cbaab8aae
--- /dev/null
+++ b/java/jdk/files/patch-aa
@@ -0,0 +1,11 @@
+--- include/freebsd/typedefs_md.h 2000/07/24 07:46:26 1.1
++++ include/freebsd/typedefs_md.h 2000/07/24 07:46:46
+@@ -33,7 +33,7 @@
+ */
+ #define _ILP32
+
+-#if (__FreeBSD__ <= 4)
++#if (__FreeBSD__ <= 5)
+ typedef unsigned int uint_t;
+ typedef int int_t;
+ #endif
diff --git a/java/jdk11/Makefile b/java/jdk11/Makefile
index fd3b8d241530..107201742b76 100644
--- a/java/jdk11/Makefile
+++ b/java/jdk11/Makefile
@@ -33,6 +33,7 @@ DISTFILES= jdk${JDK_VERSION}_ELF.V1999-11-9.tar.gz
.endif
do-install:
+ @${RM} -f ${WRKSRC}/include/freebsd/typedefs_md.h.orig
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
(cd ${WRKSRC} && ${TAR} -c -f - .) \
| (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -)
diff --git a/java/jdk11/files/patch-aa b/java/jdk11/files/patch-aa
new file mode 100644
index 000000000000..2b0cbaab8aae
--- /dev/null
+++ b/java/jdk11/files/patch-aa
@@ -0,0 +1,11 @@
+--- include/freebsd/typedefs_md.h 2000/07/24 07:46:26 1.1
++++ include/freebsd/typedefs_md.h 2000/07/24 07:46:46
+@@ -33,7 +33,7 @@
+ */
+ #define _ILP32
+
+-#if (__FreeBSD__ <= 4)
++#if (__FreeBSD__ <= 5)
+ typedef unsigned int uint_t;
+ typedef int int_t;
+ #endif