aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/cherokee/files/util.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/cherokee/files/util.patch')
-rw-r--r--recipes/cherokee/files/util.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/cherokee/files/util.patch b/recipes/cherokee/files/util.patch
new file mode 100644
index 0000000000..5319f18190
--- /dev/null
+++ b/recipes/cherokee/files/util.patch
@@ -0,0 +1,19 @@
+
+#
+# Patch managed by http://www.xwaves.net
+#
+
+--- cherokee-0.4.29/cherokee/util.c~util
++++ cherokee-0.4.29/cherokee/util.c
+@@ -348,9 +348,9 @@
+
+
+
+-#if defined(HAVE_PTHREAD) && !defined(HAVE_READDIR_R)
++/*#if defined(HAVE_PTHREAD) && !defined(HAVE_READDIR_R)*/
+ static pthread_mutex_t readdir_mutex = PTHREAD_MUTEX_INITIALIZER;
+-#endif
++/*#endif*/
+
+ /* The readdir subroutine is reentrant when an application program
+ * uses different DirectoryPointer parameter values (returned from the