From 4881da11df564c8c989ade4e223b31ee8a993776 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 3 Jan 2014 17:55:30 +0100 Subject: another bunch of musl fixes, and some libtinfo fixes --- package/ctorrent/Makefile | 2 +- package/ctorrent/patches/patch-compat_c | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 package/ctorrent/patches/patch-compat_c (limited to 'package/ctorrent') diff --git a/package/ctorrent/Makefile b/package/ctorrent/Makefile index 470e159ca..ab59739bd 100755 --- a/package/ctorrent/Makefile +++ b/package/ctorrent/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= ctorrent PKG_VERSION:= dnh3.3.2 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 59b23dd05ff70791cd6449effa7fc3b6 PKG_DESCR:= console-based BitTorrent client PKG_SECTION:= p2p 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; -- cgit v1.2.3