summaryrefslogtreecommitdiffstats
path: root/java/jdk11
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-07-24 08:05:49 +0000
committersobomax <sobomax@FreeBSD.org>2000-07-24 08:05:49 +0000
commit2e8005e1733cb58536ceaa3c5ad0dc98c15800af (patch)
tree80d26bf175fbe33bbbf1787adf4360eb05a24c7d /java/jdk11
parentda6eda278901c118bc825d79c24386ac48dbc02c (diff)
downloadFreeBSD-ports-2e8005e1733cb58536ceaa3c5ad0dc98c15800af.zip
FreeBSD-ports-2e8005e1733cb58536ceaa3c5ad0dc98c15800af.tar.gz
Define int_t and uint_t on CURRENT too. This should fix tya and shujit on
-current systems.
Diffstat (limited to 'java/jdk11')
-rw-r--r--java/jdk11/Makefile1
-rw-r--r--java/jdk11/files/patch-aa11
2 files changed, 12 insertions, 0 deletions
diff --git a/java/jdk11/Makefile b/java/jdk11/Makefile
index fd3b8d2..1072017 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 0000000..2b0cbaa
--- /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
OpenPOWER on IntegriCloud