diff options
Diffstat (limited to 'net-p2p/libfreenet/files')
-rw-r--r-- | net-p2p/libfreenet/files/patch-client_util.c | 19 | ||||
-rw-r--r-- | net-p2p/libfreenet/files/patch-protocol.c | 19 | ||||
-rw-r--r-- | net-p2p/libfreenet/files/patch-testclient.c | 10 | ||||
-rw-r--r-- | net-p2p/libfreenet/files/patch-testserver.c | 10 |
4 files changed, 0 insertions, 58 deletions
diff --git a/net-p2p/libfreenet/files/patch-client_util.c b/net-p2p/libfreenet/files/patch-client_util.c deleted file mode 100644 index d6a08a6655b4..000000000000 --- a/net-p2p/libfreenet/files/patch-client_util.c +++ /dev/null @@ -1,19 +0,0 @@ ---- client_util.c.orig Wed Mar 28 19:27:38 2001 -+++ client_util.c Sat Mar 31 15:07:59 2001 -@@ -60,13 +60,14 @@ - - int timediff () - { -+ struct tm *tmp; - long t = time(NULL); - - /* We are calling localtime here for its side-effect of setting - the timezone global appropriately. I have no proof that this - even happens on cygwin. Please, just let me die. */ -- localtime(&t); -- return (FN_TIMEZONE / 3600); -+ tmp = localtime(&t); -+ return (tmp->tm_gmtoff / 3600); - } - - diff --git a/net-p2p/libfreenet/files/patch-protocol.c b/net-p2p/libfreenet/files/patch-protocol.c deleted file mode 100644 index 59fed2289318..000000000000 --- a/net-p2p/libfreenet/files/patch-protocol.c +++ /dev/null @@ -1,19 +0,0 @@ ---- protocol.c.orig Thu Mar 22 13:27:34 2001 -+++ protocol.c Sat Mar 31 15:14:32 2001 -@@ -17,6 +17,8 @@ - */ - #include <stdio.h> - #include <malloc.h> -+#include <sys/types.h> -+#include <netinet/in.h> - #include <sys/socket.h> - #include <netdb.h> - #include <string.h> -@@ -24,7 +26,6 @@ - #include <errno.h> - #include <fcntl.h> - #include <unistd.h> --#include <sys/types.h> - #include <ctype.h> - #include <time.h> - diff --git a/net-p2p/libfreenet/files/patch-testclient.c b/net-p2p/libfreenet/files/patch-testclient.c deleted file mode 100644 index 08a080bc7ce6..000000000000 --- a/net-p2p/libfreenet/files/patch-testclient.c +++ /dev/null @@ -1,10 +0,0 @@ ---- testclient.c.orig Sat Mar 31 15:17:15 2001 -+++ testclient.c Sat Mar 31 15:17:24 2001 -@@ -20,7 +20,6 @@ - #include <string.h> - #include <time.h> - #include <unistd.h> --#include <getopt.h> - - #include "protocol.h" - #include "client.h" diff --git a/net-p2p/libfreenet/files/patch-testserver.c b/net-p2p/libfreenet/files/patch-testserver.c deleted file mode 100644 index 876e5a6733f1..000000000000 --- a/net-p2p/libfreenet/files/patch-testserver.c +++ /dev/null @@ -1,10 +0,0 @@ ---- testserver.c.orig Tue May 22 05:04:28 2001 -+++ testserver.c Sun May 27 18:47:01 2001 -@@ -19,6 +19,7 @@ - #include <string.h> - #include <unistd.h> - #include <stdlib.h> -+#include <netinet/in.h> - #include <sys/socket.h> - - |