Opened 3 years ago

Last modified 3 years ago

#6163 new Bug

[PATCH] Fix compilation when using system libminiupnpc with libutp disabled

Reported by: bkuhls Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.92
Severity: Normal Keywords: patch
Cc:

Description

If transmission uses its own copy of libminiupnpc in third-party/ then the configure script adds that path to CFLAGS: https://trac.transmissionbt.com/browser/trunk/configure.ac#L455

This patch is also added if transmission uses its own copy of libutp: https://trac.transmissionbt.com/browser/trunk/configure.ac#L349

But if a system-provided libminiupnpc is used and utp-support is disabled using --disable-utp the result is a build error, detected by buildroot autobuilders: http://autobuild.buildroot.net/results/b79/b79e51140cb0320554a58ce59dcb33f53cd9211a/build-end.log

net.c:40:24: fatal error: libutp/utp.h: No such file or directory

Patch proposed by Yann E. MORIN: http://lists.busybox.net/pipermail/buildroot/2016-July/167896.html

Attachments (1)

0004-fix-utp-include.patch (1.6 KB) - added by bkuhls 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by bkuhls

comment:1 Changed 3 years ago by Robby

  • Keywords patch added
Note: See TracTickets for help on using tickets.