mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/tinc: fix USE=upnp build err
Gentoo-Bug: 595372 Package-Manager: portage-2.3.2
This commit is contained in:
13
net-misc/tinc/files/tinc-1.1_pre14-upnp.patch
Normal file
13
net-misc/tinc/files/tinc-1.1_pre14-upnp.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/src/upnp.c b/src/upnp.c
|
||||
index abd2f92..3bfc770 100644
|
||||
--- a/src/upnp.c
|
||||
+++ b/src/upnp.c
|
||||
@@ -57,7 +57,7 @@ static struct UPNPDev *upnp_discover(int delay, int *error) {
|
||||
|
||||
#elif MINIUPNPC_API_VERSION <= 14
|
||||
|
||||
- return upnpDiscover(delay, NULL NULL, false, false, 2, error);
|
||||
+ return upnpDiscover(delay, NULL, NULL, false, false, 2, error);
|
||||
|
||||
#else
|
||||
|
||||
@@ -38,6 +38,10 @@ RDEPEND="${DEPEND}
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-upnp.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-jumbograms \
|
||||
|
||||
Reference in New Issue
Block a user