diff options
author | joerg <joerg@pkgsrc.org> | 2005-10-11 20:10:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-10-11 20:10:35 +0000 |
commit | d4a4512492480abcb6e8ee46d99d0e0b093c181a (patch) | |
tree | ad24e0704425bdc0a41dc64d60c497250535b136 /www/apache2/patches | |
parent | ee3e00f0fe159dda1316a9cbc1de985b983f957e (diff) | |
download | pkgsrc-d4a4512492480abcb6e8ee46d99d0e0b093c181a.tar.gz |
Allow mod_ssl to build with OpenSSL 0.9.8. The patch is from
Georg v. Zezschwitz on dev@httpd.apache.org.
Diffstat (limited to 'www/apache2/patches')
-rw-r--r-- | www/apache2/patches/patch-ao | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/apache2/patches/patch-ao b/www/apache2/patches/patch-ao new file mode 100644 index 00000000000..7c9c5e73159 --- /dev/null +++ b/www/apache2/patches/patch-ao @@ -0,0 +1,17 @@ +$NetBSD: patch-ao,v 1.7 2005/10/11 20:10:35 joerg Exp $ + +--- modules/ssl/ssl_toolkit_compat.h.orig 2005-10-11 18:24:59.000000000 +0000 ++++ modules/ssl/ssl_toolkit_compat.h +@@ -24,6 +24,12 @@ + + #ifdef OPENSSL_VERSION_NUMBER + ++#if (OPENSSL_VERSION_NUMBER >= 0x0090800fL) ++#ifndef PEM_F_DEF_CALLBACK ++#define PEM_F_DEF_CALLBACK PEM_F_PEM_DEF_CALLBACK ++#endif ++#endif ++ + /* + * rsa sslc uses incomplete types for most structures + * so we macroize for OpenSSL those which cannot be dereferenced |