Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 208781 Details for
Bug 291229
net-libs/libtorrent-0.12.5 and net-p2p/rtorrent-0.8.5 patches for solaris
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libtorrent patch
libtorrent-0.12.5-solaris2.patch (text/plain), 652 bytes, created by
Brian D Kacos
on 2009-10-30 19:58:08 UTC
(
hide
)
Description:
libtorrent patch
Filename:
MIME Type:
Creator:
Brian D Kacos
Created:
2009-10-30 19:58:08 UTC
Size:
652 bytes
patch
obsolete
>diff -Naur libtorrent-0.12.5/src/data/memory_chunk.cc libtorrent-0.12.5.patched/src/data/memory_chunk.cc >--- libtorrent-0.12.5/src/data/memory_chunk.cc 2008-10-07 08:49:49.000000000 -0400 >+++ libtorrent-0.12.5.patched/src/data/memory_chunk.cc 2009-10-29 23:56:17.017952666 -0400 >@@ -46,6 +46,14 @@ > #include "torrent/exceptions.h" > #include "memory_chunk.h" > >+#ifdef __sun__ >+extern "C" int madvise(void *, size_t, int); >+//#include <sys/mman.h> >+//Should be the include line instead, but Solaris >+//has an annoying bug wherein it doesn't declare >+//madvise for C++. >+#endif >+ > namespace torrent { > > uint32_t MemoryChunk::m_pagesize = getpagesize();
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 291229
:
208777
|
208779
| 208781 |
208782