1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Define int_t and uint_t on CURRENT too. This should fix tya and shujit on

-current systems.
This commit is contained in:
Maxim Sobolev 2000-07-24 08:05:49 +00:00
parent 913194dfb1
commit 898158d06a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30984
4 changed files with 24 additions and 0 deletions

View File

@ -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 -)

11
java/jdk/files/patch-aa Normal file
View File

@ -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

View File

@ -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 -)

11
java/jdk11/files/patch-aa Normal file
View File

@ -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