diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-11 22:29:38 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-11 22:29:38 +0000 |
commit | 47a28fa2def4ccacaf5658f79406f422e543e215 (patch) | |
tree | 6b1afd04f141e84eee5ab3ce6ea6df438e0463ea /net-p2p/xmule/files/patch-src::gsocket.c | |
parent | o After repo copy from ports/net/lmule (this is a fork of lmule): (diff) |
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 <lauri@fruitsalad.org>,
Frerich Raabe <frerich.raabe@gmx.de> [1]
Repo copy approved by: portmgr (self)
Repo copied by: cvs (joe)
Notes
Notes:
svn path=/head/; revision=82816
Diffstat (limited to 'net-p2p/xmule/files/patch-src::gsocket.c')
-rw-r--r-- | net-p2p/xmule/files/patch-src::gsocket.c | 22 |
1 files changed, 22 insertions, 0 deletions
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; + } |