From 1c2a46f0a4e05ac1958a0d72b5de676b6d393b90 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Sun, 3 Dec 2006 19:42:31 +0000 Subject: - A work around for creating threads with THR_NEW_LWP. LWP is not directly applicable to FreeBSD threading model. PR: ports/105794 Submitted by: Andriy Gapon --- devel/ace/Makefile | 1 + devel/ace/files/patch-ace-os_include-os_pthread.h | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 devel/ace/files/patch-ace-os_include-os_pthread.h (limited to 'devel') diff --git a/devel/ace/Makefile b/devel/ace/Makefile index 5dd34b85642f..cf43e7fdf6b1 100644 --- a/devel/ace/Makefile +++ b/devel/ace/Makefile @@ -7,6 +7,7 @@ PORTNAME= ace PORTVERSION= 5.5.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://deuce.doc.wustl.edu/pub/previous_versions/ \ http://deuce.doc.wustl.edu/old_distribution/ \ diff --git a/devel/ace/files/patch-ace-os_include-os_pthread.h b/devel/ace/files/patch-ace-os_include-os_pthread.h new file mode 100644 index 000000000000..9c5775dddbb1 --- /dev/null +++ b/devel/ace/files/patch-ace-os_include-os_pthread.h @@ -0,0 +1,11 @@ +--- ace/os_include/os_pthread.h.orig Sun Dec 3 21:47:36 2006 ++++ ace/os_include/os_pthread.h Sun Dec 3 21:51:19 2006 +@@ -345,7 +345,7 @@ + # undef THR_DAEMON + + # define THR_BOUND 0x00000001 +-# if defined (CHORUS) ++# if defined (CHORUS) || (__FreeBSD__) + # define THR_NEW_LWP 0x00000000 + # else + # define THR_NEW_LWP 0x00000002 -- cgit v1.2.3