From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-p2p/transmission/files: transmission-2.50-build-with-natpmp1.patch |
Date: | Fri, 02 Mar 2012 03:10:19 |
Message-Id: | 20120302031005.287DB2004E@flycatcher.gentoo.org |
1 | ssuominen 12/03/02 03:10:05 |
2 | |
3 | Added: transmission-2.50-build-with-natpmp1.patch |
4 | Log: |
5 | Fix regression from 2.42 ebuild series and use external libnatpmp again. |
6 | |
7 | (Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-p2p/transmission/files/transmission-2.50-build-with-natpmp1.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/files/transmission-2.50-build-with-natpmp1.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/files/transmission-2.50-build-with-natpmp1.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: transmission-2.50-build-with-natpmp1.patch |
16 | =================================================================== |
17 | Transmission configured with --enable-external-natpmp and system with |
18 | installed snapshot from 20110808 fails as following: |
19 | |
20 | natpmp.c: In function ‘tr_natpmpPulse’: |
21 | natpmp.c:123:9: error: too few arguments to function ‘initnatpmp’ |
22 | /usr/include/natpmp.h:144:13: note: declared here |
23 | |
24 | --- libtransmission/natpmp.c |
25 | +++ libtransmission/natpmp.c |
26 | @@ -120,7 +120,7 @@ |
27 | |
28 | if( is_enabled && ( nat->state == TR_NATPMP_DISCOVER ) ) |
29 | { |
30 | - int val = initnatpmp( &nat->natpmp ); |
31 | + int val = initnatpmp( &nat->natpmp, 0, NULL ); |
32 | logVal( "initnatpmp", val ); |
33 | val = sendpublicaddressrequest( &nat->natpmp ); |
34 | logVal( "sendpublicaddressrequest", val ); |