summaryrefslogtreecommitdiff
path: root/packages/cherokee/cherokee-0.5.3/util.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-05-25 21:37:21 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-25 21:37:21 +0000
commit89919672d543b3351b1d9a97f8af1584f0d65795 (patch)
tree9bf2e21fbbbcca23c6226504f36bf6aaf15b1bd4 /packages/cherokee/cherokee-0.5.3/util.patch
parent00a5df6a7d5ae1dcc8d4935752329c357b758d86 (diff)
cherokee: added 0.5.3 with GnuTLS support
Diffstat (limited to 'packages/cherokee/cherokee-0.5.3/util.patch')
-rw-r--r--packages/cherokee/cherokee-0.5.3/util.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/cherokee/cherokee-0.5.3/util.patch b/packages/cherokee/cherokee-0.5.3/util.patch
new file mode 100644
index 0000000000..c7b1d15113
--- /dev/null
+++ b/packages/cherokee/cherokee-0.5.3/util.patch
@@ -0,0 +1,29 @@
+
+#
+# Patch managed by http://www.xwaves.net
+#
+
+Index: cherokee-0.5.3/cherokee/util.c
+===================================================================
+--- cherokee-0.5.3.orig/cherokee/util.c 2006-04-01 17:58:59.000000000 +0200
++++ cherokee-0.5.3/cherokee/util.c 2006-05-23 20:37:12.000000000 +0200
+@@ -32,6 +32,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
++#include <errno.h>
+
+ #ifdef HAVE_SYS_TIME_H
+ # include <sys/time.h>
+@@ -385,9 +386,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