1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Fix build with gcc42

This commit is contained in:
Tilman Keskinoz 2007-08-09 17:39:55 +00:00
parent 717088b504
commit 6ae5290e15
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197391
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/config.c.orig 2007-08-09 19:31:50.000000000 +0200
+++ src/config.c 2007-08-09 19:32:37.000000000 +0200
@@ -96,7 +96,7 @@
gchar *proxy_ip = "0.0.0.0";
gint proxy_port = 1080;
-static guint32 gnutella_welcome_length = 0;
+guint32 gnutella_welcome_length = 0;
gchar *socksv5_user = "proxyuser";
gchar *socksv5_pass = "proxypass";

View File

@ -0,0 +1,11 @@
--- src/nodes.c.orig 2007-08-09 19:34:29.000000000 +0200
+++ src/nodes.c 2007-08-09 19:38:23.000000000 +0200
@@ -386,7 +386,7 @@
}
if(r && n->end_of_packets)
- (guint32) n->end_of_packets->data -= r;
+ n->end_of_packets->data -= r;
gui_update_node(n, FALSE);