summaryrefslogtreecommitdiff
path: root/package/ctorrent/patches/patch-btcontent_cpp
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/ctorrent/patches/patch-btcontent_cpp
Initial import
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>