1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

. Update to 7u51.

. Mark as FORBIDDEN for releases without the MAP_STACK fix (or where that
  fix isn't detectable), since kernel panics may result there.
This commit is contained in:
Greg Lewis 2014-02-09 23:12:11 +00:00
parent c56c756e69
commit da5a136cad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343555
5 changed files with 74616 additions and 149334 deletions

View File

@ -3,7 +3,6 @@
PORTNAME= openjdk
PORTVERSION= ${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER}
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= java devel
MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}/promoted/b${JDK_BUILD_NUMBER}/ \
@ -39,12 +38,12 @@ DEBUG_DESC= Enable extra debugging info
POLICY_DESC= Install the Unlimited Strength Policy Files
TZUPDATE_DESC= Update the time zone data
PORT_MINOR_VERSION= 25
PORT_BUILD_NUMBER= 15
PORT_MINOR_VERSION= 51
PORT_BUILD_NUMBER= 13
JDK_MAJOR_VERSION= 7
JDK_MINOR_VERSION= 6
JDK_BUILD_NUMBER= 24
JDK_BUILD_DATE= 09_aug_2012
JDK_MINOR_VERSION= 40
JDK_BUILD_NUMBER= 43
JDK_BUILD_DATE= 26_aug_2013
JDK_SRC_DISTFILE= ${PORTNAME}-${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}-fcs-src-b${JDK_BUILD_NUMBER}-${JDK_BUILD_DATE}
# Use our own version of ant to avoid circular dependencies
@ -104,22 +103,14 @@ BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk7 \
${LOCALBASE}/openjdk6 \
${LOCALBASE}/bootstrap-openjdk
SECURITY_ICONS= security-icon-bw16.png \
security-icon-bw24.png \
security-icon-bw32.png \
security-icon-bw48.png \
security-icon-interim16.png \
security-icon-interim24.png \
security-icon-interim32.png \
security-icon-interim48.png \
security-icon-yellow16.png \
security-icon-yellow24.png \
security-icon-yellow32.png \
security-icon-yellow48.png
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${OSVERSION} < 902506 || (${OSVERSION} > 1000000 && ${OSVERSION} < 1000702)
FORBIDDEN= causes kernel panics
.endif
.if empty(PORT_OPTIONS:MDEBUG)
MAKE_ENV+= ALT_OBJCOPY="/nonexistent"
.endif
@ -150,14 +141,6 @@ PATCH_DEPENDS+= gpatch:${PORTSDIR}/devel/patch
PATCH= gpatch
.endif
post-extract:
# Move icons to their new home.
@${MKDIR} ${WRKSRC}/jdk/src/share/classes/sun/awt/resources
.for icon in ${SECURITY_ICONS}
@${MV} ${WRKSRC}/jdk/src/solaris/classes/sun/awt/X11/${icon} \
${WRKSRC}/jdk/src/share/classes/sun/awt/resources/
.endfor
post-patch:
@${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \
${WRKSRC}/hotspot/src/os/bsd/vm/os_bsd.cpp

View File

@ -1,4 +1,4 @@
SHA256 (openjdk-7u6-fcs-src-b24-09_aug_2012.zip) = 22aec9bcc660d2e6502c9d24e5fdac97da9c4d251dafd87f708bcf6dabbbb431
SIZE (openjdk-7u6-fcs-src-b24-09_aug_2012.zip) = 103796914
SHA256 (openjdk-7u40-fcs-src-b43-26_aug_2013.zip) = 00f8ea561876cbcad174ba3ca7a9ae10b50df46a782ac64c2ac57ac357b50596
SIZE (openjdk-7u40-fcs-src-b43-26_aug_2013.zip) = 104575196
SHA256 (apache-ant-1.8.4-bin.zip) = d49d60bc0468279125e4a0db4d9b6637cab342a4bd736c90c0b71865b26c1479
SIZE (apache-ant-1.8.4-bin.zip) = 8043520

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -11,11 +11,3 @@ $FreeBSD$
#endif
#define EXTENSIONS_DIR "/lib/ext"
@@ -3670,6 +3670,7 @@
return OS_OK;
#elif defined(__FreeBSD__)
int ret = pthread_setprio(thread->osthread()->pthread_id(), newpri);
+ return (ret == 0) ? OS_OK : OS_ERR;
#elif defined(__APPLE__) || defined(__NetBSD__)
struct sched_param sp;
int policy;