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:
parent
717088b504
commit
6ae5290e15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197391
11
net-p2p/napshare/files/patch-src-config.c
Normal file
11
net-p2p/napshare/files/patch-src-config.c
Normal 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";
|
11
net-p2p/napshare/files/patch-src-nodes.c
Normal file
11
net-p2p/napshare/files/patch-src-nodes.c
Normal 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);
|
||||
|
Loading…
Reference in New Issue
Block a user