summaryrefslogtreecommitdiff
path: root/package/ctorrent/patches/patch-btfiles_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-btfiles_cpp
Initial import
Diffstat (limited to 'package/ctorrent/patches/patch-btfiles_cpp')
-rw-r--r--package/ctorrent/patches/patch-btfiles_cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/ctorrent/patches/patch-btfiles_cpp b/package/ctorrent/patches/patch-btfiles_cpp
new file mode 100644
index 000000000..e390083bb
--- /dev/null
+++ b/package/ctorrent/patches/patch-btfiles_cpp
@@ -0,0 +1,16 @@
+$Id$
+--- ctorrent-dnh2.orig/btfiles.cpp 2006-01-02 03:41:21.000000000 +0100
++++ ctorrent-dnh2/btfiles.cpp 2007-01-22 23:46:13.000000000 +0100
+@@ -8,12 +8,8 @@
+ #include <unistd.h>
+ #include <dirent.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>