From 4b4f7d0b0503c64d28c413ac94b17fb933944567 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 13 Sep 2000 01:00:48 +0000 Subject: Fix #ifdef's to make the program compile even if rsaref's des.h is installed. Fixes pkg/9835 by Michael Wolfson. --- sysutils/cfengine/files/patch-sum | 3 ++- sysutils/cfengine/patches/patch-af | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 sysutils/cfengine/patches/patch-af (limited to 'sysutils/cfengine') diff --git a/sysutils/cfengine/files/patch-sum b/sysutils/cfengine/files/patch-sum index 5706c70a568..bff292392ff 100644 --- a/sysutils/cfengine/files/patch-sum +++ b/sysutils/cfengine/files/patch-sum @@ -1,7 +1,8 @@ -$NetBSD: patch-sum,v 1.7 2000/09/09 18:11:54 wiz Exp $ +$NetBSD: patch-sum,v 1.8 2000/09/13 01:00:48 wiz Exp $ MD5 (patch-aa) = ebd4b9f4a796be4616eb8e7dfcd94ff1 MD5 (patch-ab) = 4e4988a1c3864caf5672684597d7dfc8 MD5 (patch-ac) = 8e21f9df160a1c36d7e8da66445bd792 MD5 (patch-ad) = b9992ff1c51e27d616579bc5e3005f11 MD5 (patch-ae) = a0809132cb27e911e5712252068d3e4c +MD5 (patch-af) = efd8fa5fc2ea034e482fac77e3834ddd diff --git a/sysutils/cfengine/patches/patch-af b/sysutils/cfengine/patches/patch-af new file mode 100644 index 00000000000..7dcfa6ddb92 --- /dev/null +++ b/sysutils/cfengine/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2000/09/13 01:00:48 wiz Exp $ + +--- src/encrypt.c.orig Wed Aug 11 11:32:33 1999 ++++ src/encrypt.c +@@ -39,6 +39,8 @@ + #ifdef HAVE_LIBCRYPTO /* must be des.h from OpenSSL */ + # ifdef HAVE_OPENSSL_DES_H + # include ++# else ++# undef HAVE_LIBCRYPTO + # endif + #endif + -- cgit v1.2.3