pkgsrc/www/apache/patches/patch-ad
jlam a29e7d6317 Update build to work with mod_ssl-2.6.6-1.3.12 to keep in sync with ap-ssl.
EAPI didn't change so no need to change Apache's version number.

Also standardize package builds to have Apache listen on ports 80/443
regardless of UID of user that builds the package, and make MAINTAINER
point to me.
2000-09-12 14:17:31 +00:00

20 lines
951 B
Text

$NetBSD: patch-ad,v 1.5 2000/09/12 14:17:32 jlam Exp $
--- src/ap/ap_hook.c.orig Thu Sep 7 01:19:46 2000
+++ src/ap/ap_hook.c
@@ -740,6 +740,15 @@
*((int *)v_rc) = ((int(*)(void *, void *, void *, int, void *))(hf->hf_ptr))(v1, v2, v3, v4, v5);
rc = (*((int *)v_rc) != he->he_modeval.v_int);
}
+ else if (he->he_sig == AP_HOOK_SIG5(int, ptr, ptr, ptr, ptr)) {
+ /* Call: int func(ptr,ptr,ptr,ptr) */
+ void *v1 = va_arg(ap, va_type(ptr));
+ void *v2 = va_arg(ap, va_type(ptr));
+ void *v3 = va_arg(ap, va_type(ptr));
+ void *v4 = va_arg(ap, va_type(ptr));
+ *((int *)v_rc) = ((int(*)(void *, void *, void *, void *))(hf->hf_ptr))(v1, v2, v3, v4);
+ rc = (*((int *)v_rc) != he->he_modeval.v_int);
+ }
else if (he->he_sig == AP_HOOK_SIG6(int, ptr, ptr, ptr, ptr, int)) {
/* Call: int func(ptr,ptr,ptr,ptr,int) */
void *v1 = va_arg(ap, va_type(ptr));