Source: libtorrent-rasterbar Version: 0.16.10-2 Severity: serious Tags: patch Justification: fails to build from source (but built successfully in the past) User: debian-...@lists.debian.org Usertags: kfreebsd Control: found -1 libtorrent-rasterbar/0.16.9-1
Hi, libtorrent-rasterbar 0.16.9/10 does not compile on kFreeBSD[1][2]. The issue, which I reported upstream[3], is due to a wrong configuration (in config.hpp) of the iconv arguments used. Attached there is a copy of the patch I sent upstream. [1] https://buildd.debian.org/status/fetch.php?pkg=libtorrent-rasterbar&arch=kfreebsd-i386&ver=0.16.10-2&stamp=1371536378 [2] https://buildd.debian.org/status/fetch.php?pkg=libtorrent-rasterbar&arch=kfreebsd-amd64&ver=0.16.10-2&stamp=1371536452 [3] https://code.google.com/p/libtorrent/issues/detail?id=487 Thanks, -- Pino
--- a/include/libtorrent/config.hpp +++ b/include/libtorrent/config.hpp @@ -183,9 +183,11 @@ #define TORRENT_CLOSE_MAY_BLOCK 1 #endif #else +#ifndef __GLIBC__ // FreeBSD has a reasonable iconv signature #define TORRENT_ICONV_ARG (const char**) #endif +#endif #define TORRENT_HAS_FALLOCATE 0 #define TORRENT_USE_IFADDRS 1 #define TORRENT_USE_SYSCTL 1