summaryrefslogtreecommitdiff
path: root/www/apache/patches
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2001-02-27 20:04:23 +0000
committerjdolecek <jdolecek@pkgsrc.org>2001-02-27 20:04:23 +0000
commit96606f662bb960ffb4e9c5c3cc1a207c15a2f82c (patch)
treeb7149228c329020301a9456ebc4f71e2656316dc /www/apache/patches
parent7adbff0fdf9565f5b724f8c67babd3ca4506c1b2 (diff)
downloadpkgsrc-96606f662bb960ffb4e9c5c3cc1a207c15a2f82c.tar.gz
Put back the patch to avoid dlclose(). Without the patch, it's not
possible to use LoadModule at all (httpd crashes soon after it forks). This is most probably an Apache problem. Until the real problem is tracked down, put this in as workaround. This addresses lib/12164 and bin/12283.
Diffstat (limited to 'www/apache/patches')
-rw-r--r--www/apache/patches/patch-ag18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/apache/patches/patch-ag b/www/apache/patches/patch-ag
new file mode 100644
index 00000000000..e6a915c575c
--- /dev/null
+++ b/www/apache/patches/patch-ag
@@ -0,0 +1,18 @@
+$NetBSD: patch-ag,v 1.6 2001/02/27 20:04:23 jdolecek Exp $
+
+--- src/os/unix/os.c.orig Sat Jan 15 11:01:09 2000
++++ src/os/unix/os.c
+@@ -129,7 +129,12 @@
+ #elif defined(HAVE_DYLD)
+ NSUnLinkModule(handle,FALSE);
+
+-#else
++/*
++ * Work around Apache dlclose() bug, where shared objects may be
++ * dlclose()d before their cleanup procedures are called.
++ * This is needed so shared modules can be used.
++ */
++#elif 0
+ dlclose(handle);
+ #endif
+