summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-09-13 01:00:48 +0000
committerwiz <wiz@pkgsrc.org>2000-09-13 01:00:48 +0000
commit0dddf30568dbf6157f9d89b91998b89a54728668 (patch)
tree4e6f367773d4979dc2ed6e4ce3d2eff3c6350140
parent5daee5faafced97d05d19bd5be7babf1acf57573 (diff)
downloadpkgsrc-0dddf30568dbf6157f9d89b91998b89a54728668.tar.gz
Fix #ifdef's to make the program compile even if rsaref's des.h is installed.
Fixes pkg/9835 by Michael Wolfson.
-rw-r--r--sysutils/cfengine/files/patch-sum3
-rw-r--r--sysutils/cfengine/patches/patch-af13
2 files changed, 15 insertions, 1 deletions
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 <openssl/des.h>
++# else
++# undef HAVE_LIBCRYPTO
+ # endif
+ #endif
+