summaryrefslogtreecommitdiff
path: root/package/ctorrent/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-03 17:55:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-03 17:55:30 +0100
commit4881da11df564c8c989ade4e223b31ee8a993776 (patch)
tree91e1f07da510d5e8750643549359a119b5735491 /package/ctorrent/patches
parent22b402f8b23c5826c8bf656045129e3909e29a22 (diff)
another bunch of musl fixes, and some libtinfo fixes
Diffstat (limited to 'package/ctorrent/patches')
-rw-r--r--package/ctorrent/patches/patch-compat_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/ctorrent/patches/patch-compat_c b/package/ctorrent/patches/patch-compat_c
new file mode 100644
index 000000000..44408b5db
--- /dev/null
+++ b/package/ctorrent/patches/patch-compat_c
@@ -0,0 +1,13 @@
+--- ctorrent-dnh3.3.2.orig/compat.c 2008-06-15 02:00:19.000000000 +0200
++++ ctorrent-dnh3.3.2/compat.c 2014-01-02 18:21:09.000000000 +0100
+@@ -67,8 +67,8 @@ int snprintf(char *str, size_t size, con
+ char *strnstr(const char *haystack, const char *needle, size_t haystacklen)
+ {
+ char *p;
+- ssize_t plen;
+- ssize_t len = strlen(needle);
++ size_t plen;
++ size_t len = strlen(needle);
+
+ if( *needle == '\0' )
+ return (char *)haystack;