aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar/files
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2015-04-15 08:20:27 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2015-04-15 08:20:27 +0000
commit074ea5282a00d556c73d86231bec5444990597dc (patch)
treeeec3d608e84e79f0187985e5a1e29cd4f04f13eb /net-p2p/libtorrent-rasterbar/files
parent522c152d1c7b0c92982e310110fa6d59f915ffeb (diff)
downloadports-074ea5282a00d556c73d86231bec5444990597dc.tar.gz
ports-074ea5282a00d556c73d86231bec5444990597dc.zip
Notes
Diffstat (limited to 'net-p2p/libtorrent-rasterbar/files')
-rw-r--r--net-p2p/libtorrent-rasterbar/files/patch-include-libtorrent-config.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-rasterbar/files/patch-include-libtorrent-config.hpp b/net-p2p/libtorrent-rasterbar/files/patch-include-libtorrent-config.hpp
new file mode 100644
index 000000000000..26c22203c2cb
--- /dev/null
+++ b/net-p2p/libtorrent-rasterbar/files/patch-include-libtorrent-config.hpp
@@ -0,0 +1,15 @@
+--- include/libtorrent/config.hpp.orig 2014-08-15 06:51:56 UTC
++++ include/libtorrent/config.hpp
+@@ -184,12 +184,6 @@ POSSIBILITY OF SUCH DAMAGE.
+ // execinfo.h is available in the MacOS X 10.5 SDK.
+ #define TORRENT_USE_EXECINFO MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
+ #endif
+-#else
+-// FreeBSD has a reasonable iconv signature
+-// unless we're on glibc
+-#ifndef __GLIBC__
+-# define TORRENT_ICONV_ARG (const char**)
+-#endif
+ #endif
+ #define TORRENT_HAS_FALLOCATE 0
+ #define TORRENT_USE_IFADDRS 1