mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 16:51:52 -04:00
whatever happens to be on the stack. . Bump PORTREVISION. Submitted by: Xiaoguang Sun <sunxiaoguang@gmail.com>
21 lines
693 B
C++
21 lines
693 B
C++
$FreeBSD$
|
|
|
|
--- hotspot/src/os/bsd/vm/os_bsd.cpp.orig 2010-02-21 20:07:54.000000000 -0800
|
|
+++ hotspot/src/os/bsd/vm/os_bsd.cpp 2010-02-21 20:08:41.000000000 -0800
|
|
@@ -358,7 +358,7 @@
|
|
* 7: The default directories, normally /lib and /usr/lib.
|
|
*/
|
|
#ifndef DEFAULT_LIBPATH
|
|
-#define DEFAULT_LIBPATH "/lib:/usr/lib"
|
|
+#define DEFAULT_LIBPATH "/lib:/usr/lib:%%LOCALBASE%%/lib"
|
|
#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;
|