summaryrefslogtreecommitdiff
path: root/package/ctorrent/patches/patch-btcontent_cpp
diff options
context:
space:
mode:
Diffstat (limited to 'package/ctorrent/patches/patch-btcontent_cpp')
-rw-r--r--package/ctorrent/patches/patch-btcontent_cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/ctorrent/patches/patch-btcontent_cpp b/package/ctorrent/patches/patch-btcontent_cpp
new file mode 100644
index 000000000..e402465f8
--- /dev/null
+++ b/package/ctorrent/patches/patch-btcontent_cpp
@@ -0,0 +1,16 @@
+$Id$
+--- ctorrent-dnh2.orig/btcontent.cpp 2006-01-02 03:40:49.000000000 +0100
++++ ctorrent-dnh2/btcontent.cpp 2007-01-22 23:43:50.000000000 +0100
+@@ -9,12 +9,8 @@
+ #else
+ #include <unistd.h>
+ #include <sys/param.h>
+-#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBMD) || defined(HAVE_LIBCRYPTO)
+-#include <sha.h>
+-#elif defined(HAVE_LIBSSL)
+ #include <openssl/sha.h>
+ #endif
+-#endif
+
+ #include <time.h>
+ #include <sys/stat.h>