From 47a28fa2def4ccacaf5658f79406f422e543e215 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Wed, 11 Jun 2003 22:29:38 +0000 Subject: o After repo copy from ports/net/lmule (this is a fork of lmule): update to xmule version 1.4.0 o Special thanks to [1] who helped patching the application for FreeBSD Reviewed by: Lauri Watts , Frerich Raabe [1] Repo copy approved by: portmgr (self) Repo copied by: cvs (joe) --- net-p2p/xmule/files/patch-src::gsocket.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 net-p2p/xmule/files/patch-src::gsocket.c (limited to 'net-p2p/xmule/files/patch-src::gsocket.c') diff --git a/net-p2p/xmule/files/patch-src::gsocket.c b/net-p2p/xmule/files/patch-src::gsocket.c new file mode 100644 index 000000000000..06f7483b3a82 --- /dev/null +++ b/net-p2p/xmule/files/patch-src::gsocket.c @@ -0,0 +1,22 @@ +--- src/gsocket.c.orig Tue May 27 14:11:08 2003 ++++ src/gsocket.c Tue May 27 14:11:58 2003 +@@ -127,6 +127,11 @@ + # define GSocket_Debug(args) + #endif /* __GSOCKET_DEBUG__ */ + ++/* Added by Un-Thesis 2003-05-15 */ ++/* Allows socket reuse */ ++/* Code contributed by McCabe and arkanes */ ++int intYes = 1; ++ + /* Global initialisers */ + + int GSocket_Init(void) +@@ -400,7 +405,6 @@ + /* Added by Un-Thesis 2003-05-15 */ + /* Allows socket reuse */ + /* Code contributed by McCabe and arkanes */ +-int intYes = 1; + if(setsockopt(sck->m_fd, SOL_SOCKET, SO_REUSEADDR, &intYes, sizeof(int))) { + return GSOCK_IOERR; + } -- cgit v1.2.3