--- libtorrent-0.13.4/test/Makefile.am.~1~ 2014-11-27 19:00:04.443631800 +0300
|
+++ libtorrent-0.13.4/test/Makefile.am 2014-11-27 19:00:33.881679866 +0300
|
@@ -76,6 +76,6 @@
|
main.cc
|
|
LibTorrentTest_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
-LibTorrentTest_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
+LibTorrentTest_LDFLAGS = $(CPPUNIT_LIBS) -ldl -lnsl -lcppunit -lsocket -lz
|
|
AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/src
|
--- libtorrent-0.13.8/test/data/hash_check_queue_test.cc.orig 2020-05-24 20:55:58.515284121 +0000
|
+++ libtorrent-0.13.8/test/data/hash_check_queue_test.cc 2020-05-24 20:56:31.568734401 +0000
|
@@ -71,7 +71,7 @@
|
HashCheckQueueTest::setUp() {
|
torrent::Poll::slot_create_poll() = std::bind(&create_select_poll);
|
|
- signal(SIGUSR1, (sig_t)&do_nothing);
|
+ signal(SIGUSR1, (SIG_TYP)&do_nothing);
|
}
|
|
void
|
--- libtorrent-0.13.8/test/data/hash_queue_test.cc.orig 2020-05-24 20:56:03.276538012 +0000
|
+++ libtorrent-0.13.8/test/data/hash_queue_test.cc 2020-05-24 20:56:42.619732901 +0000
|
@@ -43,7 +43,7 @@
|
CPPUNIT_ASSERT(torrent::taskScheduler.empty());
|
|
torrent::Poll::slot_create_poll() = std::bind(&create_select_poll);
|
- signal(SIGUSR1, (sig_t)&do_nothing);
|
+ signal(SIGUSR1, (SIG_TYP)&do_nothing);
|
}
|
|
void
|