summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/gift-gnutella/files/gift-gnutella-gcc35.patch')
-rw-r--r--net-p2p/gift-gnutella/files/gift-gnutella-gcc35.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-p2p/gift-gnutella/files/gift-gnutella-gcc35.patch b/net-p2p/gift-gnutella/files/gift-gnutella-gcc35.patch
new file mode 100644
index 000000000000..a4d3bbce23d6
--- /dev/null
+++ b/net-p2p/gift-gnutella/files/gift-gnutella-gcc35.patch
@@ -0,0 +1,12 @@
+diff -Naur gift-gnutella-0.0.9.2.vanilla/src/gt_node.c gift-gnutella-0.0.9.2/src/gt_node.c
+--- gift-gnutella-0.0.9.2.vanilla/src/gt_node.c 2003-12-11 01:43:14.000000000 -0600
++++ gift-gnutella-0.0.9.2/src/gt_node.c 2004-07-22 21:21:03.933389912 -0500
+@@ -310,7 +310,7 @@
+ node->tx_deflated = FALSE;
+
+ /* close the connection for this node, if any */
+- tcp_close_null (&GT_CONN(node));
++ tcp_close_null (&node->c);
+
+ /*pong_cache_waiter_remove (c);*/
+