Date: Sun, 22 Sep 2013 00:39:22 +0000 (UTC) From: Greg Lewis <glewis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327845 - in head/java/openjdk7: . files Message-ID: <201309220039.r8M0dMAQ084213@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glewis Date: Sun Sep 22 00:39:22 2013 New Revision: 327845 URL: http://svnweb.freebsd.org/changeset/ports/327845 Log: . Make set_native_priority return a (correct) value on FreeBSD, rather than whatever happens to be on the stack. . Bump PORTREVISION. Submitted by: Xiaoguang Sun <sunxiaoguang@gmail.com> Modified: head/java/openjdk7/Makefile head/java/openjdk7/files/patch-src-os-bsd-vm-os_bsd.cpp (contents, props changed) Modified: head/java/openjdk7/Makefile ============================================================================== --- head/java/openjdk7/Makefile Sun Sep 22 00:26:05 2013 (r327844) +++ head/java/openjdk7/Makefile Sun Sep 22 00:39:22 2013 (r327845) @@ -3,6 +3,7 @@ PORTNAME= openjdk PORTVERSION= ${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER} +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}/promoted/b${JDK_BUILD_NUMBER}/ \ http://download.java.net/jaxp/1.4.5/:jaxp \ Modified: head/java/openjdk7/files/patch-src-os-bsd-vm-os_bsd.cpp ============================================================================== --- head/java/openjdk7/files/patch-src-os-bsd-vm-os_bsd.cpp Sun Sep 22 00:26:05 2013 (r327844) +++ head/java/openjdk7/files/patch-src-os-bsd-vm-os_bsd.cpp Sun Sep 22 00:39:22 2013 (r327845) @@ -11,3 +11,11 @@ $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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309220039.r8M0dMAQ084213>