Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122095 Details for
Bug 182009
net-fs/fex-0.8.18 cannot be compiled with gcc-4.x
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fex-0.8.18-gcc4.patch
fex-0.8.18-gcc4.patch (text/plain), 2.96 KB, created by
Ryan Hill (RETIRED)
on 2007-06-15 03:18:06 UTC
(
hide
)
Description:
fex-0.8.18-gcc4.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2007-06-15 03:18:06 UTC
Size:
2.96 KB
patch
obsolete
>diff -Naur fex-0.8.18-orig/src/client.cpp fex-0.8.18/src/client.cpp >--- fex-0.8.18-orig/src/client.cpp 2004-12-19 17:49:45.000000000 -0600 >+++ fex-0.8.18/src/client.cpp 2007-06-14 21:03:39.000000000 -0600 >@@ -53,7 +53,7 @@ > { > lc.info("start fullsync"); > parent().write(fex_header(ME_FullSyncStart)); >- parent().wp()->createStateFile((unsigned)this, &_M_ClientFile); >+ parent().wp()->createStateFile((unsigned long)this, &_M_ClientFile); > } > > void FullSyncDialog:: >diff -Naur fex-0.8.18-orig/src/dialog.cpp fex-0.8.18/src/dialog.cpp >--- fex-0.8.18-orig/src/dialog.cpp 2005-05-11 10:20:52.000000000 -0600 >+++ fex-0.8.18/src/dialog.cpp 2007-06-14 21:07:39.000000000 -0600 >@@ -224,7 +224,7 @@ > ModLog::iterator i; > for(i = _M_Log.begin(); i != _M_Log.end(); i++) { > if (! FileListener::get().lock(parent().wp()->path() + i->first.str(), >- (unsigned int)&parent())) { >+ (unsigned long)&parent())) { > ModLog::iterator j; > for(j = _M_Log.begin(); j != i; j++) { > FileListener::get().unlock(parent().wp(), >diff -Naur fex-0.8.18-orig/src/filelistener.cpp fex-0.8.18/src/filelistener.cpp >--- fex-0.8.18-orig/src/filelistener.cpp 2005-06-07 09:49:06.000000000 -0600 >+++ fex-0.8.18/src/filelistener.cpp 2007-06-14 21:07:26.000000000 -0600 >@@ -355,7 +355,7 @@ > > _M_FDBuffer[0].reserve(MinFDBufferSize); > _M_FDBuffer[1].reserve(MinFDBufferSize); >- _S_SignalBuffer = (int)&_M_FDBuffer[0]; >+ _S_SignalBuffer = (long)&_M_FDBuffer[0]; > _M_ReadBuffer = &_M_FDBuffer[1]; > > assert(! _S_WakeUpPipe.first); >@@ -439,7 +439,7 @@ > typedef FileListener::FileEvent::reqs_m::iterator iterator; > > _M_ReadBuffer->reserve(_M_Handler->size() + MinFDBufferSize); >- _S_SignalBuffer = (int)_M_ReadBuffer; >+ _S_SignalBuffer = (long)_M_ReadBuffer; > _M_ReadBuffer = &_M_FDBuffer[_M_ReadBuffer == &_M_FDBuffer[0] ? 1 : 0]; > > if (_S_RenewAll) { >diff -Naur fex-0.8.18-orig/src/nmstl/netioevent fex-0.8.18/src/nmstl/netioevent >--- fex-0.8.18-orig/src/nmstl/netioevent 2004-12-12 16:34:50.000000000 -0600 >+++ fex-0.8.18/src/nmstl/netioevent 2007-06-14 21:02:33.000000000 -0600 >@@ -138,7 +138,7 @@ > io_handler::set_ioh; > > private: >- inline void tcp_acceptor::ravail() { >+ inline void ravail() { > address a; > tcpsocket ioh = sock.accept(a); > if (ioh) { >@@ -168,7 +168,7 @@ > virtual ~tcp_acceptor() {} > > protected: >- inline void tcp_acceptor::ravail() { >+ inline void ravail() { > address a; > tcpsocket ioh = sock.accept(a); > if (ioh) { >diff -Naur fex-0.8.18-orig/src/server.cpp fex-0.8.18/src/server.cpp >--- fex-0.8.18-orig/src/server.cpp 2004-12-19 17:51:23.000000000 -0600 >+++ fex-0.8.18/src/server.cpp 2007-06-14 21:04:45.000000000 -0600 >@@ -81,7 +81,7 @@ > sendStatFile() > { > size_t size; >- size = parent().wp()->createStateFile((unsigned)this, &_M_StateFile); >+ size = parent().wp()->createStateFile((unsigned long)this, &_M_StateFile); > omessage msg; > msg << _M_StateFile << size; > write(fex_header(ME_FullSyncState), msg);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 182009
: 122095 |
122109