summaryrefslogtreecommitdiff
path: root/net/gtk-gnutella/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/gtk-gnutella/patches')
-rw-r--r--net/gtk-gnutella/patches/patch-aa14
-rw-r--r--net/gtk-gnutella/patches/patch-ab18
-rw-r--r--net/gtk-gnutella/patches/patch-ac19
-rw-r--r--net/gtk-gnutella/patches/patch-ad11
-rw-r--r--net/gtk-gnutella/patches/patch-ae10
5 files changed, 43 insertions, 29 deletions
diff --git a/net/gtk-gnutella/patches/patch-aa b/net/gtk-gnutella/patches/patch-aa
index 12449f888f5..c7751911db8 100644
--- a/net/gtk-gnutella/patches/patch-aa
+++ b/net/gtk-gnutella/patches/patch-aa
@@ -1,12 +1,10 @@
-$NetBSD: patch-aa,v 1.1 2002/09/25 17:29:05 wiz Exp $
-
---- src/filter.c.orig Mon Jun 24 18:53:53 2002
-+++ src/filter.c
-@@ -23,6 +23,7 @@
+--- src/walloc.c 2002/10/14 13:46:32 1.1
++++ src/walloc.c 2002/10/26 01:44:07
+@@ -25,6 +25,7 @@
*----------------------------------------------------------------------
*/
-+#include <sys/types.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
++#include <stdlib.h>
+ #include "walloc.h"
+ #include "zalloc.h"
diff --git a/net/gtk-gnutella/patches/patch-ab b/net/gtk-gnutella/patches/patch-ab
index 7770d6941a4..d4749f9aa8f 100644
--- a/net/gtk-gnutella/patches/patch-ab
+++ b/net/gtk-gnutella/patches/patch-ab
@@ -1,12 +1,10 @@
-$NetBSD: patch-ab,v 1.1 2002/09/25 17:29:05 wiz Exp $
-
---- src/filter_gui.c.orig Sun Jun 23 19:59:33 2002
-+++ src/filter_gui.c
+--- src/vendors.c 2002/10/13 10:16:31 1.1
++++ src/vendors.c 2002/10/26 01:16:22
@@ -26,6 +26,7 @@
- /*
- * For ntohl and inet_addr
- */
-+#include <sys/types.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
+ #include "vendors.h"
+ #include <ctype.h>
++#include <string.h>
+
+ struct {
+ guint32 code;
diff --git a/net/gtk-gnutella/patches/patch-ac b/net/gtk-gnutella/patches/patch-ac
index e0a70e751d5..f9ee34ce16d 100644
--- a/net/gtk-gnutella/patches/patch-ac
+++ b/net/gtk-gnutella/patches/patch-ac
@@ -1,13 +1,10 @@
-$NetBSD: patch-ac,v 1.1 2002/09/25 17:29:05 wiz Exp $
-
---- src/hosts.c.orig Fri Jun 21 07:21:25 2002
-+++ src/hosts.c
-@@ -257,7 +257,7 @@ void host_save_valid(guint32 ip, guint16
+--- src/getdate.y 2002/08/10 11:30:23 1.1
++++ src/getdate.y 2002/10/26 01:24:23
+@@ -39,6 +39,7 @@
+ */
- void host_init(void)
- {
-- static void pcache_init(void);
-+ void pcache_init(void);
+ #include "config.h"
++#include <stdlib.h>
- ht_known_hosts = g_hash_table_new(host_hash, host_eq);
- pcache_init();
+ #ifdef HAVE_CONFIG_H
+ # ifdef FORCE_ALLOCA_H
diff --git a/net/gtk-gnutella/patches/patch-ad b/net/gtk-gnutella/patches/patch-ad
new file mode 100644
index 00000000000..5084e3ce2ee
--- /dev/null
+++ b/net/gtk-gnutella/patches/patch-ad
@@ -0,0 +1,11 @@
+--- src/fileinfo.c 2002/10/17 19:52:41 1.1
++++ src/fileinfo.c 2002/10/26 01:09:28
+@@ -1797,7 +1797,7 @@
+ if (stat(fi_tmp, &st) != -1) {
+ g_warning("file_info_get(): "
+ "assuming file \"%s\" is complete up to %lu bytes",
+- fi->file_name, st.st_size);
++ fi->file_name, (unsigned long)st.st_size);
+ fc = g_malloc0(sizeof(struct dl_file_chunk));
+ fc->from = 0;
+ fi->size = fc->to = st.st_size;
diff --git a/net/gtk-gnutella/patches/patch-ae b/net/gtk-gnutella/patches/patch-ae
new file mode 100644
index 00000000000..f711923a7e4
--- /dev/null
+++ b/net/gtk-gnutella/patches/patch-ae
@@ -0,0 +1,10 @@
+--- src/fuzzy.c 2002/09/24 23:05:00 1.1
++++ src/fuzzy.c 2002/10/26 01:11:11
+@@ -28,6 +28,7 @@
+ #include <stdio.h>
+ #include <glib.h>
+ #include <ctype.h>
++#include <string.h>
+
+ static char *fuzzy_strlower(char *a)
+ {