Summary: | net-libs/libtorrent-0.12.5 and net-p2p/rtorrent-0.8.5 patches for solaris | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Brian D Kacos <briandkacos> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Solaris | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Updated ebuild
Updated ebuild libtorrent patch rtorrent patch |
Description
Brian D Kacos
2009-10-30 19:56:25 UTC
Created attachment 208777 [details]
Updated ebuild
Created attachment 208779 [details]
Updated ebuild
Created attachment 208781 [details, diff]
libtorrent patch
Created attachment 208782 [details, diff]
rtorrent patch
somehow this patching seems not enough: libtool: compile: i386-pc-solaris2.10-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -fvisibility=hidden -I/Library/Gentoo/usr/include -I/Library/Gentoo/usr/include/sigc++-2.0 -I/Library/Gentoo/usr/lib/sigc++-2.0/include -c memory_chunk.cc -o memory_chunk.o >/dev/null 2>&1 socket_file.cc: In member function ‘bool torrent::SocketFile::reserve(uint64_t, uint64_t)’: socket_file.cc:114: error: ‘posix_fallocate’ was not declared in this scope make[3]: *** [socket_file.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... there is indeed no such function on solaris 10 (In reply to comment #5) > somehow this patching seems not enough: > > libtool: compile: i386-pc-solaris2.10-g++ -DHAVE_CONFIG_H -I. -I../.. -I. > -I./.. -I../.. -O2 -Wall -DNDEBUG -fvisibility=hidden > -I/Library/Gentoo/usr/include -I/Library/Gentoo/usr/include/sigc++-2.0 > -I/Library/Gentoo/usr/lib/sigc++-2.0/include -c memory_chunk.cc -o > memory_chunk.o >/dev/null 2>&1 > socket_file.cc: In member function ‘bool > torrent::SocketFile::reserve(uint64_t, uint64_t)’: > socket_file.cc:114: error: ‘posix_fallocate’ was not declared in this scope > make[3]: *** [socket_file.lo] Error 1 > make[3]: *** Waiting for unfinished jobs.... > > there is indeed no such function on solaris 10 > This doesn't exist on x64-macos either (and x86-macos I'd imagine), so perhaps it should do something like: local myconf="" if use amd64-linux || use x86-linux ; then myconf="--with-posix-fallocate" fi econf \ $(use_enable debug) \ $(use_enable ipv6) \ --enable-aligned \ --enable-static \ --enable-shared \ --disable-dependency-tracking \ ${myconf} || die "econf failed" to only enable it on Linux? thanks for the patches and fixes! librtorrent fixed and keyworded ~x64-solaris rtorrent fixed and keyworded ~x64-solaris If you need other keywords, please note on this bug. ~x64-macos would be nice :) done |