Bugfix update to pjsua-1.8.5

This commit is contained in:
dcoppa 2010-10-22 14:36:12 +00:00
parent 6e72c64c14
commit 981a30b34d
3 changed files with 7 additions and 31 deletions

View File

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

View File

@ -1,5 +1,5 @@
MD5 (pjproject-1.8.tar.bz2) = y+G9mkLpvyUMWE0kIA+0qQ==
RMD160 (pjproject-1.8.tar.bz2) = Iu9RhW0+j2hTNOX/4+7LOrGOBWE=
SHA1 (pjproject-1.8.tar.bz2) = y1pv4WSWljTFDYDVAcPSrOi625E=
SHA256 (pjproject-1.8.tar.bz2) = YaBKes38FM72QlmoQ12jpqZFQRT/j6jgVPDra7Veq9A=
SIZE (pjproject-1.8.tar.bz2) = 3845457
MD5 (pjproject-1.8.5.tar.bz2) = +aqeWLTWlyRetL+n2BpUow==
RMD160 (pjproject-1.8.5.tar.bz2) = 0/dPqQESXw5Tobiy5W11yKIMk30=
SHA1 (pjproject-1.8.5.tar.bz2) = 4Uge2TTbrlhNrkJUwZVvZsojjwc=
SHA256 (pjproject-1.8.5.tar.bz2) = Ofqtq1y8mrAX0Ri91pYUllczBTfcMyWHp6vBy7lWJdU=
SIZE (pjproject-1.8.5.tar.bz2) = 3758002

View File

@ -1,23 +0,0 @@
$OpenBSD: patch-pjlib_src_pj_os_core_unix_c,v 1.6 2010/09/24 10:46:47 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 12:44:10 2010
@@ -311,7 +311,7 @@ PJ_DEF(int) pj_thread_get_prio_min(pj_thread_t *thread
#if defined _POSIX_PRIORITY_SCHEDULING
return sched_get_priority_min(policy);
#elif defined __OpenBSD__
- /* OpenBSD doesn't have sched_get_priority_min/_max */
+ /* Thread prio min/max are declared in OpenBSD private hdr */
return 0;
#else
pj_assert("pj_thread_get_prio_min() not supported!");
@@ -336,8 +336,8 @@ PJ_DEF(int) pj_thread_get_prio_max(pj_thread_t *thread
#if defined _POSIX_PRIORITY_SCHEDULING
return sched_get_priority_max(policy);
#elif defined __OpenBSD__
- /* OpenBSD doesn't have sched_get_priority_min/_max */
- return 0;
+ /* Thread prio min/max are declared in OpenBSD private hdr */
+ return 31;
#else
pj_assert("pj_thread_get_prio_max() not supported!");
return 0;