summaryrefslogtreecommitdiff
path: root/packages/ctorrent/files/configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ctorrent/files/configure.patch')
-rw-r--r--packages/ctorrent/files/configure.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/ctorrent/files/configure.patch b/packages/ctorrent/files/configure.patch
new file mode 100644
index 0000000000..95fe5cc2be
--- /dev/null
+++ b/packages/ctorrent/files/configure.patch
@@ -0,0 +1,29 @@
+diff -ur ctorrent/configure ctorrent.new/configure
+--- ctorrent/configure 2004-09-09 00:10:51.000000000 +0100
++++ ctorrent.new/configure 2005-01-23 18:29:34.000000000 +0000
+@@ -3216,13 +3216,13 @@
+
+ else
+
+-echo "$as_me:$LINENO: checking for SHA1_Init in -lcrypt" >&5
+-echo $ECHO_N "checking for SHA1_Init in -lcrypt... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for SHA1_Init in -lcrypto" >&5
++echo $ECHO_N "checking for SHA1_Init in -lcrypto... $ECHO_C" >&6
+ if test "${ac_cv_lib_crypt_SHA1_Init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lcrypt $LIBS"
++LIBS="-lcrypto $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -3275,7 +3275,7 @@
+ #define HAVE_LIBCRYPT 1
+ _ACEOF
+
+- LIBS="-lcrypt $LIBS"
++ LIBS="-lcrypto $LIBS"
+
+ else
+