jpeg-turbo: fix legal info
[buildroot-gz.git] / package / transmission / 0003-miniupnpc-cross.patch
blob5037c2e67afc5ad5ff9f6f1cb8c69c0397f36a8a
1 Fix libminiupnpc version detection
3 Problem is known upstream: https://trac.transmissionbt.com/ticket/6140
5 For buildroot we know the libminiupnpc version so we hard-code 2.0.
7 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
9 diff -uNr transmission-2.92.org/configure.ac transmission-2.92/configure.ac
10 --- transmission-2.92.org/configure.ac 2016-03-06 21:23:45.336198393 +0100
11 +++ transmission-2.92/configure.ac 2016-07-02 21:48:13.452385686 +0200
12 @@ -386,18 +386,7 @@
13 dnl MINIUPNPC_API_VERSION and we won't have to figure
14 dnl it out on our own
15 if test "x$upnp_version" = "xunknown" ; then
16 - AC_RUN_IFELSE(
17 - [AC_LANG_PROGRAM(
18 - [#include <stdlib.h>
19 - #include <miniupnpc/miniupnpc.h>],
20 - [#ifdef MINIUPNPC_API_VERSION
21 - return EXIT_SUCCESS;
22 - #else
23 - return EXIT_FAILURE;
24 - #endif]
25 - )],
26 - [upnp_version=">= 1.7"]
27 - )
28 + upnp_version="2.0"
31 dnl Or maybe it's miniupnp 1.6