diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/opal/Makefile | 7 | ||||
-rw-r--r-- | net/opal/distinfo | 4 | ||||
-rw-r--r-- | net/opal/files/patch-aa | 29 | ||||
-rw-r--r-- | net/opal3/Makefile | 7 | ||||
-rw-r--r-- | net/opal3/distinfo | 4 | ||||
-rw-r--r-- | net/opal3/files/patch-aa | 29 | ||||
-rw-r--r-- | net/openh323-112/Makefile | 7 | ||||
-rw-r--r-- | net/openh323-112/distinfo | 4 | ||||
-rw-r--r-- | net/openh323-112/files/patch-aa | 29 | ||||
-rw-r--r-- | net/openh323/Makefile | 7 | ||||
-rw-r--r-- | net/openh323/distinfo | 4 | ||||
-rw-r--r-- | net/openh323/files/patch-aa | 29 |
12 files changed, 20 insertions, 140 deletions
diff --git a/net/opal/Makefile b/net/opal/Makefile index 0c98ff52fe4..adc3349dcbb 100644 --- a/net/opal/Makefile +++ b/net/opal/Makefile @@ -6,14 +6,13 @@ # PORTNAME= openh323 -PORTVERSION= 1.1 -PORTREVISION= 1 +PORTVERSION= 1.1pl1 CATEGORIES= net MASTER_SITES= http://www.openh323.org/bin/ \ http://www.de.openh323.org/bin/ \ http://www.ru.openh323.org/bin/ -DISTFILES= openh323_1.1.tar.gz \ - pwlib_min_1.1pl18.tar.gz +DISTFILES= openh323_1.1pl1.tar.gz \ + pwlib_min_1.1pl19.tar.gz MAINTAINER= roger@freebsd.org diff --git a/net/opal/distinfo b/net/opal/distinfo index 7a6a56e421d..b93b6b06236 100644 --- a/net/opal/distinfo +++ b/net/opal/distinfo @@ -1,2 +1,2 @@ -MD5 (openh323_1.1.tar.gz) = 51fe78bc7a0da3422479263106b4d95a -MD5 (pwlib_min_1.1pl18.tar.gz) = c4c88ce65cca72ce5d9cfea36205e7a4 +MD5 (openh323_1.1pl1.tar.gz) = 3455fe8bf9e4aa31b39c444fc58a9baa +MD5 (pwlib_min_1.1pl19.tar.gz) = 672b2e90bb7d16b1ab85ba8328a0d364 diff --git a/net/opal/files/patch-aa b/net/opal/files/patch-aa deleted file mode 100644 index cf262107575..00000000000 --- a/net/opal/files/patch-aa +++ /dev/null @@ -1,29 +0,0 @@ -*** ../pwlib/src/ptlib/unix/tlibthrd.cxx.orig Thu Nov 16 11:14:48 2000 ---- ../pwlib/src/ptlib/unix/tlibthrd.cxx Thu Nov 16 11:15:21 2000 -*************** void PThread::PX_NewThread(BOOL startSus -*** 386,391 **** ---- 386,409 ---- - // pthread_attr_t threadAttr; - // pthread_attr_init(&threadAttr); - PAssertOS(pthread_create(&PX_threadId, NULL, PX_ThreadStart, this) == 0); -+ -+ #if defined(P_FREEBSD) -+ // There is a potential race condition here which shows up with FreeBSD 4.2 -+ // and later, but really applies to all pthread libraries. -+ // If a thread is started in suspend mode, we need to make sure -+ // the thread (PX_ThreadStart) has had a chance to execute and block on the -+ // sigwait() (blocking on the Resume Signal) before this function returns. -+ // Otherwise the main program may issue a Resume Signal on the thread -+ // by calling PThread::Resume() before the thread is ready for it. -+ // If that happens the program will abort with an unhandled signal error. -+ // A workaround (not 100% guaranteed) is to yield here, which gives -+ // the newly created thread (PX_ThreadStart) a chance to execute. -+ -+ if (startSuspended) { -+ sched_yield(); -+ } -+ #endif -+ - } - - diff --git a/net/opal3/Makefile b/net/opal3/Makefile index 0c98ff52fe4..adc3349dcbb 100644 --- a/net/opal3/Makefile +++ b/net/opal3/Makefile @@ -6,14 +6,13 @@ # PORTNAME= openh323 -PORTVERSION= 1.1 -PORTREVISION= 1 +PORTVERSION= 1.1pl1 CATEGORIES= net MASTER_SITES= http://www.openh323.org/bin/ \ http://www.de.openh323.org/bin/ \ http://www.ru.openh323.org/bin/ -DISTFILES= openh323_1.1.tar.gz \ - pwlib_min_1.1pl18.tar.gz +DISTFILES= openh323_1.1pl1.tar.gz \ + pwlib_min_1.1pl19.tar.gz MAINTAINER= roger@freebsd.org diff --git a/net/opal3/distinfo b/net/opal3/distinfo index 7a6a56e421d..b93b6b06236 100644 --- a/net/opal3/distinfo +++ b/net/opal3/distinfo @@ -1,2 +1,2 @@ -MD5 (openh323_1.1.tar.gz) = 51fe78bc7a0da3422479263106b4d95a -MD5 (pwlib_min_1.1pl18.tar.gz) = c4c88ce65cca72ce5d9cfea36205e7a4 +MD5 (openh323_1.1pl1.tar.gz) = 3455fe8bf9e4aa31b39c444fc58a9baa +MD5 (pwlib_min_1.1pl19.tar.gz) = 672b2e90bb7d16b1ab85ba8328a0d364 diff --git a/net/opal3/files/patch-aa b/net/opal3/files/patch-aa deleted file mode 100644 index cf262107575..00000000000 --- a/net/opal3/files/patch-aa +++ /dev/null @@ -1,29 +0,0 @@ -*** ../pwlib/src/ptlib/unix/tlibthrd.cxx.orig Thu Nov 16 11:14:48 2000 ---- ../pwlib/src/ptlib/unix/tlibthrd.cxx Thu Nov 16 11:15:21 2000 -*************** void PThread::PX_NewThread(BOOL startSus -*** 386,391 **** ---- 386,409 ---- - // pthread_attr_t threadAttr; - // pthread_attr_init(&threadAttr); - PAssertOS(pthread_create(&PX_threadId, NULL, PX_ThreadStart, this) == 0); -+ -+ #if defined(P_FREEBSD) -+ // There is a potential race condition here which shows up with FreeBSD 4.2 -+ // and later, but really applies to all pthread libraries. -+ // If a thread is started in suspend mode, we need to make sure -+ // the thread (PX_ThreadStart) has had a chance to execute and block on the -+ // sigwait() (blocking on the Resume Signal) before this function returns. -+ // Otherwise the main program may issue a Resume Signal on the thread -+ // by calling PThread::Resume() before the thread is ready for it. -+ // If that happens the program will abort with an unhandled signal error. -+ // A workaround (not 100% guaranteed) is to yield here, which gives -+ // the newly created thread (PX_ThreadStart) a chance to execute. -+ -+ if (startSuspended) { -+ sched_yield(); -+ } -+ #endif -+ - } - - diff --git a/net/openh323-112/Makefile b/net/openh323-112/Makefile index 0c98ff52fe4..adc3349dcbb 100644 --- a/net/openh323-112/Makefile +++ b/net/openh323-112/Makefile @@ -6,14 +6,13 @@ # PORTNAME= openh323 -PORTVERSION= 1.1 -PORTREVISION= 1 +PORTVERSION= 1.1pl1 CATEGORIES= net MASTER_SITES= http://www.openh323.org/bin/ \ http://www.de.openh323.org/bin/ \ http://www.ru.openh323.org/bin/ -DISTFILES= openh323_1.1.tar.gz \ - pwlib_min_1.1pl18.tar.gz +DISTFILES= openh323_1.1pl1.tar.gz \ + pwlib_min_1.1pl19.tar.gz MAINTAINER= roger@freebsd.org diff --git a/net/openh323-112/distinfo b/net/openh323-112/distinfo index 7a6a56e421d..b93b6b06236 100644 --- a/net/openh323-112/distinfo +++ b/net/openh323-112/distinfo @@ -1,2 +1,2 @@ -MD5 (openh323_1.1.tar.gz) = 51fe78bc7a0da3422479263106b4d95a -MD5 (pwlib_min_1.1pl18.tar.gz) = c4c88ce65cca72ce5d9cfea36205e7a4 +MD5 (openh323_1.1pl1.tar.gz) = 3455fe8bf9e4aa31b39c444fc58a9baa +MD5 (pwlib_min_1.1pl19.tar.gz) = 672b2e90bb7d16b1ab85ba8328a0d364 diff --git a/net/openh323-112/files/patch-aa b/net/openh323-112/files/patch-aa deleted file mode 100644 index cf262107575..00000000000 --- a/net/openh323-112/files/patch-aa +++ /dev/null @@ -1,29 +0,0 @@ -*** ../pwlib/src/ptlib/unix/tlibthrd.cxx.orig Thu Nov 16 11:14:48 2000 ---- ../pwlib/src/ptlib/unix/tlibthrd.cxx Thu Nov 16 11:15:21 2000 -*************** void PThread::PX_NewThread(BOOL startSus -*** 386,391 **** ---- 386,409 ---- - // pthread_attr_t threadAttr; - // pthread_attr_init(&threadAttr); - PAssertOS(pthread_create(&PX_threadId, NULL, PX_ThreadStart, this) == 0); -+ -+ #if defined(P_FREEBSD) -+ // There is a potential race condition here which shows up with FreeBSD 4.2 -+ // and later, but really applies to all pthread libraries. -+ // If a thread is started in suspend mode, we need to make sure -+ // the thread (PX_ThreadStart) has had a chance to execute and block on the -+ // sigwait() (blocking on the Resume Signal) before this function returns. -+ // Otherwise the main program may issue a Resume Signal on the thread -+ // by calling PThread::Resume() before the thread is ready for it. -+ // If that happens the program will abort with an unhandled signal error. -+ // A workaround (not 100% guaranteed) is to yield here, which gives -+ // the newly created thread (PX_ThreadStart) a chance to execute. -+ -+ if (startSuspended) { -+ sched_yield(); -+ } -+ #endif -+ - } - - diff --git a/net/openh323/Makefile b/net/openh323/Makefile index 0c98ff52fe4..adc3349dcbb 100644 --- a/net/openh323/Makefile +++ b/net/openh323/Makefile @@ -6,14 +6,13 @@ # PORTNAME= openh323 -PORTVERSION= 1.1 -PORTREVISION= 1 +PORTVERSION= 1.1pl1 CATEGORIES= net MASTER_SITES= http://www.openh323.org/bin/ \ http://www.de.openh323.org/bin/ \ http://www.ru.openh323.org/bin/ -DISTFILES= openh323_1.1.tar.gz \ - pwlib_min_1.1pl18.tar.gz +DISTFILES= openh323_1.1pl1.tar.gz \ + pwlib_min_1.1pl19.tar.gz MAINTAINER= roger@freebsd.org diff --git a/net/openh323/distinfo b/net/openh323/distinfo index 7a6a56e421d..b93b6b06236 100644 --- a/net/openh323/distinfo +++ b/net/openh323/distinfo @@ -1,2 +1,2 @@ -MD5 (openh323_1.1.tar.gz) = 51fe78bc7a0da3422479263106b4d95a -MD5 (pwlib_min_1.1pl18.tar.gz) = c4c88ce65cca72ce5d9cfea36205e7a4 +MD5 (openh323_1.1pl1.tar.gz) = 3455fe8bf9e4aa31b39c444fc58a9baa +MD5 (pwlib_min_1.1pl19.tar.gz) = 672b2e90bb7d16b1ab85ba8328a0d364 diff --git a/net/openh323/files/patch-aa b/net/openh323/files/patch-aa deleted file mode 100644 index cf262107575..00000000000 --- a/net/openh323/files/patch-aa +++ /dev/null @@ -1,29 +0,0 @@ -*** ../pwlib/src/ptlib/unix/tlibthrd.cxx.orig Thu Nov 16 11:14:48 2000 ---- ../pwlib/src/ptlib/unix/tlibthrd.cxx Thu Nov 16 11:15:21 2000 -*************** void PThread::PX_NewThread(BOOL startSus -*** 386,391 **** ---- 386,409 ---- - // pthread_attr_t threadAttr; - // pthread_attr_init(&threadAttr); - PAssertOS(pthread_create(&PX_threadId, NULL, PX_ThreadStart, this) == 0); -+ -+ #if defined(P_FREEBSD) -+ // There is a potential race condition here which shows up with FreeBSD 4.2 -+ // and later, but really applies to all pthread libraries. -+ // If a thread is started in suspend mode, we need to make sure -+ // the thread (PX_ThreadStart) has had a chance to execute and block on the -+ // sigwait() (blocking on the Resume Signal) before this function returns. -+ // Otherwise the main program may issue a Resume Signal on the thread -+ // by calling PThread::Resume() before the thread is ready for it. -+ // If that happens the program will abort with an unhandled signal error. -+ // A workaround (not 100% guaranteed) is to yield here, which gives -+ // the newly created thread (PX_ThreadStart) a chance to execute. -+ -+ if (startSuspended) { -+ sched_yield(); -+ } -+ #endif -+ - } - - |