After discussion with fgsch@ and others, It's now clear that I was wrong

and 31 IS the correct value: shame on me...

"You need to revive the patch that was before 1.7" fgsch@
This commit is contained in:
dcoppa 2010-09-24 07:52:37 +00:00
parent ccdd80ae82
commit fc775a9d9e
2 changed files with 14 additions and 1 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.11 2010/09/16 07:59:23 dcoppa Exp $
# $OpenBSD: Makefile,v 1.12 2010/09/24 07:52:37 dcoppa Exp $
COMMENT= lightweight sip client
VERSION= 1.8
DISTNAME= pjproject-${VERSION}
PKGNAME= pjsua-${VERSION}
REVISION= 0
EXTRACT_SUFX= .tar.bz2
CATEGORIES= telephony

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-pjlib_src_pj_os_core_unix_c,v 1.5 2010/09/24 07:52:37 dcoppa Exp $
--- pjlib/src/pj/os_core_unix.c.orig Wed May 19 07:50:08 2010
+++ pjlib/src/pj/os_core_unix.c Fri Sep 24 09:27:00 2010
@@ -337,7 +337,7 @@ PJ_DEF(int) pj_thread_get_prio_max(pj_thread_t *thread
return sched_get_priority_max(policy);
#elif defined __OpenBSD__
/* OpenBSD doesn't have sched_get_priority_min/_max */
- return 0;
+ return 31;
#else
pj_assert("pj_thread_get_prio_max() not supported!");
return 0;