[package] update libtorrent to 0.12.6 (#7252)
[packages.git] / libs / libtorrent / patches / 100-fix_cross_compile.patch
diff --git a/libs/libtorrent/patches/100-fix_cross_compile.patch b/libs/libtorrent/patches/100-fix_cross_compile.patch
new file mode 100644 (file)
index 0000000..ab5bca1
--- /dev/null
@@ -0,0 +1,24 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -17,7 +17,6 @@
+ AM_INIT_AUTOMAKE
+ AM_CONFIG_HEADER(config.h)
+-AM_PATH_CPPUNIT(1.9.6)
+ AC_DISABLE_STATIC
+ AM_DISABLE_STATIC
+@@ -117,5 +116,4 @@
+       src/protocol/Makefile
+       src/tracker/Makefile
+       src/utils/Makefile
+-        test/Makefile
+ ])
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = src test
++SUBDIRS = src
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = libtorrent.pc