Description: Define BOOST_ASIO_DYN_LINK to fix FTBFS.
Author: Peter Michael Green <plugwash@raspbian.org>

Index: fatrat-1.1.3/src/tools/CreateTorrentDlg.h
===================================================================
--- fatrat-1.1.3.orig/src/tools/CreateTorrentDlg.h	2014-02-16 01:02:40.000000000 +0000
+++ fatrat-1.1.3/src/tools/CreateTorrentDlg.h	2014-02-16 01:02:40.000000000 +0000
@@ -32,6 +32,7 @@
 #include <QPair>
 #include <QThread>
 #include "ui_CreateTorrentDlg.h"
+#define BOOST_ASIO_DYN_LINK
 #include <libtorrent/create_torrent.hpp>
 
 class HasherThread;
Index: fatrat-1.1.3/src/engines/TorrentDownload.h
===================================================================
--- fatrat-1.1.3.orig/src/engines/TorrentDownload.h	2014-02-16 01:06:03.000000000 +0000
+++ fatrat-1.1.3/src/engines/TorrentDownload.h	2014-02-16 01:08:38.000000000 +0000
@@ -42,6 +42,7 @@
 #include <QTemporaryFile>
 #include <QRegExp>
 #include <vector>
+#define BOOST_ASIO_DYN_LINK
 #include <libtorrent/session.hpp>
 #include <libtorrent/torrent_handle.hpp>
 #include "Proxy.h"
Index: fatrat-1.1.3/src/engines/TorrentIPFilter.h
===================================================================
--- fatrat-1.1.3.orig/src/engines/TorrentIPFilter.h	2010-09-06 09:43:46.000000000 +0000
+++ fatrat-1.1.3/src/engines/TorrentIPFilter.h	2014-02-16 02:11:29.000000000 +0000
@@ -28,6 +28,7 @@
 #ifndef TORRENTIPFILTER_H
 #define TORRENTIPFILTER_H
 #include <QString>
+#define BOOST_ASIO_DYN_LINK
 #include <libtorrent/ip_filter.hpp>
 
 bool loadIPFilter(QString textFile, libtorrent::ip_filter* filter);
Index: fatrat-1.1.3/src/engines/TorrentPiecesModel.h
===================================================================
--- fatrat-1.1.3.orig/src/engines/TorrentPiecesModel.h	2014-02-16 02:19:36.000000000 +0000
+++ fatrat-1.1.3/src/engines/TorrentPiecesModel.h	2014-02-16 02:19:54.000000000 +0000
@@ -31,6 +31,7 @@
 #include <QItemDelegate>
 #include <vector>
 #include <QStringList>
+#define BOOST_ASIO_DYN_LINK
 #include <libtorrent/session.hpp>
 
 class TorrentDownload;
Index: fatrat-1.1.3/src/engines/TorrentProgressWidget.h
===================================================================
--- fatrat-1.1.3.orig/src/engines/TorrentProgressWidget.h	2010-09-06 09:43:46.000000000 +0000
+++ fatrat-1.1.3/src/engines/TorrentProgressWidget.h	2014-02-16 02:21:00.000000000 +0000
@@ -32,6 +32,7 @@
 #include <QPaintEvent>
 #include <cmath>
 #include <cstring>
+#define BOOST_ASIO_DYN_LINK
 #include <libtorrent/bitfield.hpp>
 
 class TorrentProgressWidget : public QWidget
--- fatrat-1.1.3.orig/src/engines/TorrentFilesModel.h
+++ fatrat-1.1.3/src/engines/TorrentFilesModel.h
@@ -33,6 +33,7 @@ respects for all of the code used other
 #include <QStringList>
 #include <QItemDelegate>
 #include <vector>
+#define BOOST_ASIO_DYN_LINK
 #include <libtorrent/session.hpp>
 #include <libtorrent/bitfield.hpp>
 
