diff options
author | nork <nork@FreeBSD.org> | 2004-01-18 01:52:30 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-01-18 01:52:30 +0800 |
commit | b88c1c1e5b78540cc2e20761c40da0b918371f6c (patch) | |
tree | a8e7c72795d61749675b2aaa208d072161f53cc8 /net/ctorrent/files | |
parent | 5244419580553a4aaad435e2d538fa47f739cb84 (diff) | |
download | freebsd-ports-gnome-b88c1c1e5b78540cc2e20761c40da0b918371f6c.tar.gz freebsd-ports-gnome-b88c1c1e5b78540cc2e20761c40da0b918371f6c.tar.zst freebsd-ports-gnome-b88c1c1e5b78540cc2e20761c40da0b918371f6c.zip |
Add ctorrent 1.3.r1, BitTorrent Client program by C for FreeBSD
and Linux.
PR: ports/61474
Submitted by: Florent Thoumie <flz@xbsd.org>
Diffstat (limited to 'net/ctorrent/files')
-rw-r--r-- | net/ctorrent/files/patch-btstream.cpp | 7 | ||||
-rw-r--r-- | net/ctorrent/files/patch-httpencode.cpp | 18 | ||||
-rw-r--r-- | net/ctorrent/files/patch-iplist.cpp | 7 | ||||
-rw-r--r-- | net/ctorrent/files/patch-peer.cpp | 10 | ||||
-rw-r--r-- | net/ctorrent/files/patch-peer.h | 10 |
5 files changed, 52 insertions, 0 deletions
diff --git a/net/ctorrent/files/patch-btstream.cpp b/net/ctorrent/files/patch-btstream.cpp new file mode 100644 index 000000000000..eb41ae3b5072 --- /dev/null +++ b/net/ctorrent/files/patch-btstream.cpp @@ -0,0 +1,7 @@ +--- btstream.cpp.orig Fri Jan 16 00:01:00 2004 ++++ btstream.cpp Sun Jan 18 02:42:47 2004 +@@ -1,3 +1,4 @@ ++#include <arpa/inet.h> + #include "btstream.h" + #include "msgencode.h" + #include "btconfig.h" diff --git a/net/ctorrent/files/patch-httpencode.cpp b/net/ctorrent/files/patch-httpencode.cpp new file mode 100644 index 000000000000..800f55f32476 --- /dev/null +++ b/net/ctorrent/files/patch-httpencode.cpp @@ -0,0 +1,18 @@ +--- httpencode.cpp.orig Sun Jan 11 05:51:45 2004 ++++ httpencode.cpp Sun Jan 18 02:43:16 2004 +@@ -10,6 +10,7 @@ + /* NOTE: */ + /* LINUX/WINDOWS IMPLEMENT's STANDARD C LIBRARY NO strnstr FOUND */ + /* FUNCTION PROGRAMER: Siberiaic Sang */ ++#if 0 + static char* strnstr(const char *haystack,const char *needle,size_t haystacklen) + { + char *p; +@@ -30,6 +31,7 @@ static char* strnstr(const char *haystac + } + return (char*) 0; + } ++#endif + /* ************************************************** */ + + static void url_encode_char(char *b,char c) diff --git a/net/ctorrent/files/patch-iplist.cpp b/net/ctorrent/files/patch-iplist.cpp new file mode 100644 index 000000000000..9bf36732ab15 --- /dev/null +++ b/net/ctorrent/files/patch-iplist.cpp @@ -0,0 +1,7 @@ +--- iplist.cpp.orig Sun Jan 11 05:51:45 2004 ++++ iplist.cpp Sun Jan 18 02:43:29 2004 +@@ -1,3 +1,4 @@ ++#include <string.h> + #include "iplist.h" + + IpList IPQUEUE; diff --git a/net/ctorrent/files/patch-peer.cpp b/net/ctorrent/files/patch-peer.cpp new file mode 100644 index 000000000000..5c88f9a026d8 --- /dev/null +++ b/net/ctorrent/files/patch-peer.cpp @@ -0,0 +1,10 @@ +--- peer.cpp.orig Wed Jan 14 21:54:26 2004 ++++ peer.cpp Sun Jan 18 02:43:36 2004 +@@ -1,6 +1,7 @@ + #include "peer.h" + + #include <stdlib.h> ++#include <string.h> + + #include "btcontent.h" + #include "msgencode.h" diff --git a/net/ctorrent/files/patch-peer.h b/net/ctorrent/files/patch-peer.h new file mode 100644 index 000000000000..06684a043b0c --- /dev/null +++ b/net/ctorrent/files/patch-peer.h @@ -0,0 +1,10 @@ +--- peer.h.orig Fri Jan 16 00:30:15 2004 ++++ peer.h Sun Jan 18 02:44:04 2004 +@@ -6,6 +6,7 @@ + #ifdef WINDOWS + #include <Winsock2.h> + #else ++#include <string.h> + #include <unistd.h> + #include <sys/socket.h> + #include <arpa/inet.h> |