summaryrefslogtreecommitdiff
path: root/devel/tcl-trf/files/patch-loadman
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2002-02-17 16:03:11 +0000
committerMikhail Teterin <mi@FreeBSD.org>2002-02-17 16:03:11 +0000
commit8ad0c3adab3c50e57f8c41d6ac55f3c2adf0e527 (patch)
tree09c1c2b63306d31664eb0b3fa578a0d151f2c591 /devel/tcl-trf/files/patch-loadman
parent- Add patch for configure (diff)
Resolve a few more symbols at compile/link time, rather than at
run-time. This fixes the bz2 commands. We link against -lmd, so use <md2.h> and <md5.h>, instead of <openssl/md[25].h> (why do we even install those separately?). Bump up portrevision. Change the reference (in the comment) from -lscrypt to -lcrypt.
Notes
Notes: svn path=/head/; revision=54822
Diffstat (limited to 'devel/tcl-trf/files/patch-loadman')
-rw-r--r--devel/tcl-trf/files/patch-loadman46
1 files changed, 11 insertions, 35 deletions
diff --git a/devel/tcl-trf/files/patch-loadman b/devel/tcl-trf/files/patch-loadman
index 1561632dbb6d..7a396f640312 100644
--- a/devel/tcl-trf/files/patch-loadman
+++ b/devel/tcl-trf/files/patch-loadman
@@ -1,18 +1,22 @@
---- generic/loadman.h Tue Mar 27 08:08:31 2001
-+++ generic/loadman.h Fri Feb 8 11:31:51 2002
-@@ -48,8 +48,7 @@
+Use FreeBSD's native md2 and sha implementations instead of those from
+the OpenSSL library.
+
+ -mi
+
+--- generic/loadman.h Fri Feb 15 14:49:06 2002
++++ generic/loadman.h Fri Feb 15 14:50:48 2002
+@@ -48,9 +48,5 @@
#ifdef HAVE_MD2_H
-# ifdef OPENSSL_SUB
-# include <openssl/md2.h>
-# else
-# include <md2.h>
+-# endif
+# include <md2.h>
-+# ifndef MD2_DIGEST_LENGTH
-+# define MD2_DIGEST_LENGTH 16
- # endif
#else
-@@ -58,15 +57,10 @@
+ # include "../compat/md2.h"
+@@ -58,9 +54,5 @@
#ifdef HAVE_SHA_H
-# ifdef OPENSSL_SUB
@@ -23,31 +27,3 @@
+# include <sha.h>
#else
# include "../compat/sha.h"
- #endif
-
--#include "../md5-crypt/md5.h"
--
-+#include <md5.h>
-
- #ifdef TCL_STORAGE_CLASS
-@@ -87,4 +81,5 @@
- */
-
-+#if 0
- typedef struct Md2Functions {
- long loaded;
-@@ -114,7 +109,4 @@
- } sha1Functions;
-
--
--
--
- /* Global variables containing the vectors declared above. 99% of the time they
- * are read, but during load a write is required, which has to be protected by
-@@ -125,4 +117,6 @@
- EXTERN md5Functions md5f; /* THREADING: serialize initialization */
- EXTERN sha1Functions sha1f; /* THREADING: serialize initialization */
-+
-+#endif
-
-