Fix compile with OpenSSL 0.9.8b in -CURRENT and remove BROKEN.

PR:		ports/102837
Approved by:	maintainer
This commit is contained in:
Simon L. B. Nielsen 2006-09-23 13:14:52 +00:00
parent c4e176be24
commit 852ced8763
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173646
3 changed files with 26 additions and 4 deletions

View file

@ -28,10 +28,6 @@ MAKE_ARGS= rcdir="${LOCALBASE}/etc/rc.d"
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700019
BROKEN= Does not compile on FreeBSD >= 7.0
.endif
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.endif

View file

@ -0,0 +1,13 @@
$FreeBSD$
--- src/modules/auth.c.orig
+++ src/modules/auth.c
@@ -44,6 +44,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
+#include <sys/types.h>
#include <stdio.h>
#if HAVE_STDLIB_H
#include <stdlib.h>

View file

@ -0,0 +1,13 @@
$FreeBSD$
--- src/wyvern.h.orig
+++ src/wyvern.h
@@ -56,6 +56,7 @@
#include <netdb.h>
#if USE_SSL
#include <openssl/ssl.h>
+#include <openssl/md5.h>
#endif /* USE_SSL */
#include <sys/time.h>
#include "status.h"