summaryrefslogtreecommitdiffstats
path: root/www/mod_jk2/files/patch-include::jk_mutex_h
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-04-18 10:33:14 +0000
committerclement <clement@FreeBSD.org>2004-04-18 10:33:14 +0000
commitb7828dea32df106fe2be81314af168b4d70dff05 (patch)
tree1bf15f27051aee406f2bacd12a6a5c9bac96e7fe /www/mod_jk2/files/patch-include::jk_mutex_h
parentc2a5624ff73c4942b57fa37967ac9b792aa75c2a (diff)
downloadFreeBSD-ports-b7828dea32df106fe2be81314af168b4d70dff05.zip
FreeBSD-ports-b7828dea32df106fe2be81314af168b4d70dff05.tar.gz
- mod_jk2 is now mod_jk 2.x branch.
People who wants to use mod_jk with apache2 must use mod_jk-apache2 commit monthes ago. PR: 56661 Submitted by: Palle Girgensohn <girgen@pingpong.net> Approved by: previous maintainer Reviewed/updated by: clement
Diffstat (limited to 'www/mod_jk2/files/patch-include::jk_mutex_h')
-rw-r--r--www/mod_jk2/files/patch-include::jk_mutex_h20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/mod_jk2/files/patch-include::jk_mutex_h b/www/mod_jk2/files/patch-include::jk_mutex_h
new file mode 100644
index 0000000..0eea181
--- /dev/null
+++ b/www/mod_jk2/files/patch-include::jk_mutex_h
@@ -0,0 +1,20 @@
+--- include/jk_mutex.h~ Thu Jul 31 19:30:40 2003
++++ include/jk_mutex.h Wed Sep 10 01:33:27 2003
+@@ -76,7 +76,7 @@
+ #include "apr_thread_mutex.h"
+ #elif defined( WIN32 )
+ #include <windows.h>
+-#elif defined( _REENTRANT )
++#elif defined( _THREAD_SAFE ) && defined ( FREEBSD_THREAD_HACK )
+ #include <pthread.h>
+ #endif
+
+@@ -122,7 +122,7 @@
+ apr_thread_mutex_t *threadMutex;
+ #elif defined( WIN32 )
+ CRITICAL_SECTION threadMutex;
+-#elif defined( _REENTRANT )
++#elif defined( _THREAD_SAFE ) && defined ( FREEBSD_THREAD_HACK )
+ pthread_mutex_t threadMutex;
+ #else
+ void *threadMutex;
OpenPOWER on IntegriCloud