freebsd-ports/www/mozilla/files/patch-aq
Jeremy Lea 58e0c80c37 Add PSM support.
Submitted by:	nsayer

Remove use of libgcc_r, since it was so uncerimoniously removed.  If this
doesn't work on -stable, then -stable is broken, and someone needs to fix
it...

Submitted by:	Roman Shterenzon <roman@xpert.com>

Use sched_getpriority_max(), instead of hard coded value.

Submitted by:	Peter Haight <peterh@sapros.com>, dufault

Revise pkg-comment and pkg-descr.

PR:		24296
Submitted by:	roam

Enable SVG support, and disable C++ exceptions (since they will only slow
things down).
2001-01-22 01:23:18 +00:00

20 lines
794 B
Text

--- nsprpub/pr/include/md/_pth.h.orig Sat Jan 20 17:28:34 2001
+++ nsprpub/pr/include/md/_pth.h Sat Jan 20 17:29:04 2001
@@ -183,7 +183,7 @@
#define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER)
#endif /* defined(_PR_DCETHREADS) */
-#elif defined(LINUX)
+#elif defined(LINUX) || defined(FREEBSD)
#define PT_PRIO_MIN sched_get_priority_min(SCHED_OTHER)
#define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER)
#elif defined(NTO)
@@ -203,7 +203,7 @@
*/
#define PT_PRIO_MIN 1
#define PT_PRIO_MAX 127
-#elif defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \
+#elif defined(NETBSD) || defined(OPENBSD) \
|| defined(BSDI) || defined(RHAPSODY) /* XXX */
#define PT_PRIO_MIN 0
#define PT_PRIO_MAX 126