From owner-freebsd-ports@freebsd.org Wed Oct 14 12:15:10 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A156A110E3 for ; Wed, 14 Oct 2015 12:15:10 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from relay1.ox.registrar-servers.com (relay1.ox.registrar-servers.com [199.188.203.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.registrar-servers.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DD5A197A; Wed, 14 Oct 2015 12:15:09 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from imap2-2.ox.privateemail.com (imap2-2.ox.privateemail.com [192.64.116.207]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay.ox.registrar-servers.com (Postfix) with ESMTPS id 383B8B0216; Wed, 14 Oct 2015 08:15:07 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by imap2.ox.privateemail.com (Postfix) with ESMTP id 9ACB98C0096; Wed, 14 Oct 2015 08:14:56 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from imap2.ox.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dcsSC1tWclxF; Wed, 14 Oct 2015 08:14:56 -0400 (EDT) Received: from [192.168.0.154] (unknown [77.229.99.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by imap2.ox.privateemail.com (Postfix) with ESMTPSA id 300B48C0097; Wed, 14 Oct 2015 08:14:54 -0400 (EDT) Message-ID: <1444824868.41374.2.camel@fbsd.es> Subject: Re: error build net-p2p/transmission-cli after update net/miniupnpc From: Carlos J Puga Medina To: freebsd-ports , alexvpetrov@gmail.com Cc: jbeich , koobs@FreeBSD.org, dinoex@FreeBSD.org Date: Wed, 14 Oct 2015 14:14:28 +0200 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-/OyXyK4rogz0kSCij7qr" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2015 12:15:10 -0000 --=-/OyXyK4rogz0kSCij7qr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > upnp.c:91:51: error: too few arguments to function call, expected 7, > have 6=20 > ret =3D upnpDiscover (msec, NULL, NULL, 0, 0, &err); The following patch solved the problem for me: % cat /usr/ports/net-p2p/transmission-cli/files/patch -libtransmission_upnp.c=20 --- libtransmission/upnp.c.orig 2015-10-14 12:00:18 UTC +++ libtransmission/upnp.c @@ -88,7 +88,7 @@ tr_upnpDiscover (int msec) =20 #if (MINIUPNPC_API_VERSION >=3D 8) /* adds ipv6 and error args */ int err =3D UPNPDISCOVER_SUCCESS; - ret =3D upnpDiscover (msec, NULL, NULL, 0, 0, &err); + ret =3D upnpDiscover (msec, NULL, NULL, 0, 0, 0, &err); have_err =3D err !=3D UPNPDISCOVER_SUCCESS; #else ret =3D upnpDiscover (msec, NULL, NULL, 0); Cheers, --=20 Carlos Jacobo Puga Medina PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 --=-/OyXyK4rogz0kSCij7qr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJWHkckAAoJEKHzXWbm0FRT6NMH/2jJYUuzWeoKLAKKzC0wIL1e uey9+lD1+p8r0ssY0sjzhFAyhrLJtRtUvmW4G7gxcI1zFNcJJh5Ni8iImWbr2KJP R9p0+jq4m63JHIG7Da7LFSrEftBFA2psc0TVjcBA7HZUG82tIkZgQ9VAI2q1BPtI WPLYTFu0CAQeEZoQ6LcP8P5UYlMWWClejD6riVV3yXEAHM+pRrlkFGBp0WQYc0Rq fIZMwI5TfsY6ryNUcr37zNcd0LBeOFAcNkrpUvmnUYd0fNUG/CgkzWKyfh/2uTrd slbI5Y9UZvvySr3XVPnIDN8nf3pA/UzLLsSHbT1ZLFVSTJlUORznhLbdOSgPs5s= =NxMP -----END PGP SIGNATURE----- --=-/OyXyK4rogz0kSCij7qr--