From 98edb320fae662c514c191edd8a5316d3969ed20 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Sun, 16 Jun 2002 20:02:19 +0000 Subject: [PATCH] pull and use our own libdes --- net/ucd-snmp/patches/patch-configure | 34 +++++++++++++++++----- net/ucd-snmp/patches/patch-snmplib_scapi_c | 11 +++++++ 2 files changed, 37 insertions(+), 8 deletions(-) create mode 100644 net/ucd-snmp/patches/patch-snmplib_scapi_c diff --git a/net/ucd-snmp/patches/patch-configure b/net/ucd-snmp/patches/patch-configure index 53ded601b7e..4536cd9a1be 100644 --- a/net/ucd-snmp/patches/patch-configure +++ b/net/ucd-snmp/patches/patch-configure @@ -1,6 +1,6 @@ -$OpenBSD: patch-configure,v 1.3 2001/10/11 19:16:19 danh Exp $ ---- configure.orig Mon Oct 8 14:33:57 2001 -+++ configure Thu Oct 11 13:33:42 2001 +$OpenBSD: patch-configure,v 1.4 2002/06/16 20:02:19 pvalchev Exp $ +--- configure.orig Thu Nov 29 15:21:53 2001 ++++ configure Sun Jun 16 13:54:56 2002 @@ -2114,6 +2114,16 @@ newos6*) lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; @@ -126,23 +126,41 @@ $OpenBSD: patch-configure,v 1.3 2001/10/11 19:16:19 danh Exp $ SNMPLIBPATH="" tmpset="$libdir/snmp" while test "x$tmpset" != "x$SNMPLIBPATH"; do -@@ -7344,6 +7369,7 @@ echo "configure:7344: checking for TCP w +@@ -7345,6 +7370,7 @@ echo "configure:7345: checking for TCP w cat > conftest.$ac_ext < #include int allow_severity = 0; int deny_severity = 0; -@@ -7468,6 +7494,7 @@ echo "configure:7468: checking for TCP w +@@ -7469,6 +7495,7 @@ echo "configure:7469: checking for TCP w cat > conftest.$ac_ext < #include int allow_severity = 0; int deny_severity = 0; -@@ -15153,6 +15180,7 @@ s%@AUTOCONF@%$AUTOCONF%g +@@ -8185,7 +8212,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lcrypto $LIBS" ++LIBS="-lcrypto -ldes $LIBS" + cat > conftest.$ac_ext <&6 +@@ -15237,6 +15264,7 @@ s%@AUTOCONF@%$AUTOCONF%g s%@AUTOHEADER@%$AUTOHEADER%g s%@UNAMEPROG@%$UNAMEPROG%g s%@VERSION@%$VERSION%g diff --git a/net/ucd-snmp/patches/patch-snmplib_scapi_c b/net/ucd-snmp/patches/patch-snmplib_scapi_c new file mode 100644 index 00000000000..da15109b8b7 --- /dev/null +++ b/net/ucd-snmp/patches/patch-snmplib_scapi_c @@ -0,0 +1,11 @@ +$OpenBSD: patch-snmplib_scapi_c,v 1.1 2002/06/16 20:02:19 pvalchev Exp $ +--- snmplib/scapi.c.orig Sun Jun 16 13:48:32 2002 ++++ snmplib/scapi.c Sun Jun 16 13:48:55 2002 +@@ -56,6 +56,7 @@ + #include + #include + #include ++#include + #endif + + #ifdef QUITFUN