Subject: pkg/18287: net/gtk-gnutella needs patches (included)
To: None <gnats-bugs@gnats.netbsd.org>
From: Rhialto <rhialto@azenomei.knuffel.net>
List: netbsd-bugs
Date: 09/14/2002 13:42:06
>Number: 18287
>Category: pkg
>Synopsis: net/gtk-gnutella needs patches (included)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 14 04:43:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Rhialto
>Release: pkgsrc as of a few days ago
>Organization:
>Environment:
System: NetBSD azenomei.falu.nl 1.5.1_BETA NetBSD 1.5.1_BETA (AZENOMEI) #0: Sun Apr 22 00:38:14 CEST 2001 rhialto@azenomei.falu.nl:/vol1/rhialto/cvs/netbsd-1-5/syssrc/sys/arch/alpha/compile/AZENOMEI alpha
>Description:
net/gtk-gnutella fails to compile and link on at least
NetBSD/Alpha 1.5.
>How-To-Repeat:
see above.
>Fix:
Simple patches:
diff -r -u gtk-gnutella/work.alpha/gtk-gnutella-0.90/src/filter.c gtk-gnutella.new/work.alpha/gtk-gnutella-0.90/src/filter.c
--- gtk-gnutella/work.alpha/gtk-gnutella-0.90/src/filter.c Mon Jun 24 18:53:53 2002
+++ gtk-gnutella.new/work.alpha/gtk-gnutella-0.90/src/filter.c Sat Sep 14 13:26:28 2002
@@ -23,6 +23,7 @@
*----------------------------------------------------------------------
*/
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff -r -u gtk-gnutella/work.alpha/gtk-gnutella-0.90/src/filter_gui.c gtk-gnutella.new/work.alpha/gtk-gnutella-0.90/src/filter_gui.c
--- gtk-gnutella/work.alpha/gtk-gnutella-0.90/src/filter_gui.c Sun Jun 23 19:59:33 2002
+++ gtk-gnutella.new/work.alpha/gtk-gnutella-0.90/src/filter_gui.c Sat Sep 14 13:27:12 2002
@@ -26,6 +26,7 @@
/*
* For ntohl and inet_addr
*/
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff -r -u gtk-gnutella/work.alpha/gtk-gnutella-0.90/src/hosts.c gtk-gnutella.new/work.alpha/gtk-gnutella-0.90/src/hosts.c
--- gtk-gnutella/work.alpha/gtk-gnutella-0.90/src/hosts.c Fri Jun 21 07:21:25 2002
+++ gtk-gnutella.new/work.alpha/gtk-gnutella-0.90/src/hosts.c Sat Sep 14 13:30:47 2002
@@ -257,7 +257,7 @@
void host_init(void)
{
- static void pcache_init(void);
+ void pcache_init(void);
ht_known_hosts = g_hash_table_new(host_hash, host_eq);
pcache_init();
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- The evil eye is caused by the black
\X/ rhialto/at/xs4all.nl -- tongue - Tom Poes, "Het boze oog", 4456.
>Release-Note:
>Audit-Trail:
>Unformatted: