From 6c9ac209609366cd471cb2b47db360898192c4ae Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Thu, 14 Sep 2006 17:37:05 +0000 Subject: [PATCH] Fix build with openssl 0.9.8b. PR: ports/102822 Submitted by: simon --- security/wpa_supplicant/Makefile | 4 ---- security/wpa_supplicant/files/patch-crypto.c | 13 +++++++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 security/wpa_supplicant/files/patch-crypto.c diff --git a/security/wpa_supplicant/Makefile b/security/wpa_supplicant/Makefile index 2bb1217a4032..82f35955cb9a 100644 --- a/security/wpa_supplicant/Makefile +++ b/security/wpa_supplicant/Makefile @@ -65,8 +65,4 @@ post-install: IGNORE=is not supported on FreeBSD < 6.0 .endif -.if ${OSVERSION} >= 700019 -BROKEN= does not compile on FreeBSD >= 7.0 -.endif - .include diff --git a/security/wpa_supplicant/files/patch-crypto.c b/security/wpa_supplicant/files/patch-crypto.c new file mode 100644 index 000000000000..c27bc4c09f64 --- /dev/null +++ b/security/wpa_supplicant/files/patch-crypto.c @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- crypto.c.orig ++++ crypto.c +@@ -12,6 +12,7 @@ + * See README and COPYING for more details. + */ + ++#include + #include + #include +