openbsd-ports/net/bro/patches/patch-configure_in
robert c06abedde8 Fix OpenSSL update fallout by using a diff from bro ticket #247
which checks and uses the correct API
2010-10-12 20:12:52 +00:00

18 lines
558 B
Plaintext

$OpenBSD: patch-configure_in,v 1.1 2010/10/12 20:12:52 robert Exp $
--- configure.in.orig Tue Oct 12 22:02:25 2010
+++ configure.in Tue Oct 12 22:02:58 2010
@@ -217,6 +217,13 @@ if test "$use_openssl" = "yes"; then
AC_LANG_POP([C++])
fi
+if test "$use_openssl" = "yes"; then
+ AC_CHECK_TYPE(STACK,
+ AC_DEFINE([OPENSSL_STACK_TYPE], [STACK], [OpenSSL's stack type]),
+ AC_DEFINE([OPENSSL_STACK_TYPE], [_STACK], [OpenSSL's stack type]),
+ [#include <openssl/stack.h>])
+fi
+
# do we use ssl?
AM_CONDITIONAL(USE_SSL, test "$use_openssl" = "yes")