aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2006-08-13 23:34:46 +0800
committerSimon L. B. Nielsen <simon@FreeBSD.org>2006-08-13 23:34:46 +0800
commit75a9e643f4cf0284c10962246adebcccf6ce8f42 (patch)
tree2b810e3bdf570309258440cfb8b80e09edc15470 /www
parent7dbf5a502cd86115f48712480d17c2cfe7a33941 (diff)
downloadfreebsd-ports-gnome-75a9e643f4cf0284c10962246adebcccf6ce8f42.tar.gz
freebsd-ports-gnome-75a9e643f4cf0284c10962246adebcccf6ce8f42.tar.zst
freebsd-ports-gnome-75a9e643f4cf0284c10962246adebcccf6ce8f42.zip
Fix compile with OpenSSL 0.9.8b from -CURRENT.
Note the fix wrt. OPENSSL_VERSION_NUMBER isn't optimal, but the best way since base system versions of OpenSSL 0.9.7 don't define OPENSSL_THREADS even though threads should be supported. Problem reported by: pointyhat via kris Approved by: anordby (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/pound/files/patch-pound.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/www/pound/files/patch-pound.h b/www/pound/files/patch-pound.h
index dd306447e0c0..b66891634b6c 100644
--- a/www/pound/files/patch-pound.h
+++ b/www/pound/files/patch-pound.h
@@ -1,13 +1,15 @@
---- pound.h.orig Wed Jul 23 04:48:13 2003
-+++ pound.h Wed Jul 23 04:48:49 2003
-@@ -163,10 +163,6 @@
+
+$FreeBSD$
+
+--- pound.h.orig
++++ pound.h
+@@ -178,7 +178,8 @@
+ #if HAVE_OPENSSL_SSL_H
#define OPENSSL_THREAD_DEFINES
#include <openssl/ssl.h>
- #if OPENSSL_VERSION_NUMBER >= 0x00907000L
--#ifndef OPENSSL_THREADS
--#error "Pound requires OpenSSL with thread support"
--#endif
--#else
- #ifndef THREADS
+-#if OPENSSL_VERSION_NUMBER >= 0x00907000L
++#include <openssl/opensslconf.h>
++#if OPENSSL_VERSION_NUMBER > 0x0090705FL
+ #ifndef OPENSSL_THREADS
#error "Pound requires OpenSSL with thread support"
#endif