From owner-freebsd-ports@FreeBSD.ORG Mon Dec 29 20:22:50 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BFC7106566B for ; Mon, 29 Dec 2008 20:22:50 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 615358FC18 for ; Mon, 29 Dec 2008 20:22:49 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1618964fgb.35 for ; Mon, 29 Dec 2008 12:22:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=S/8cnepF1mnpjHZkM6KObEvky3Gc1hdVCINmZnilysA=; b=rXgGSiO/4M7m4PGrLQs+uUlIfMqHNd/vCDInbXXsnUwy543x02ZeHpK43KpE1iCjWS iYFKNrjDHXfSvLQ8qw3+iICwLFVRaP9LW2XhfJ1wF6xl8xhS0U3vkfY2aO0iRlqu2w6I 1CAeqHzsTZMjg9Unep40HjvWPdR2cHuw9JQKw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=mX30wwdrhy/91oi6Lp/i77neqJQR3UMG9uUuWXpE3DqpEulwl6Dkpi2A+pTdn+50Kt NdMZ7QUAVKaViFjK7jQrtWhwDGzIFfyDqlKnPdGQ4D4HgpSLyo4PcOS+BuXCxZ4P+nOp hsp2O3s8soMSfGB4kSJSxhZa+MKugj+0kPXRo= Received: by 10.86.84.18 with SMTP id h18mr8309813fgb.69.1230580176340; Mon, 29 Dec 2008 11:49:36 -0800 (PST) Received: by 10.86.82.5 with HTTP; Mon, 29 Dec 2008 11:49:36 -0800 (PST) Message-ID: <83e5fb980812291149u196c822br6953a1077edd9d9d@mail.gmail.com> Date: Mon, 29 Dec 2008 20:49:36 +0100 From: "Diego Depaoli" To: "Max Brazhnikov" In-Reply-To: <200812292218.05073.makc@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_162158_16907215.1230580176334" References: <20081229164749.GA19620@teddy.fas.com> <200812292218.05073.makc@freebsd.org> Cc: stan , freebsd-ports@freebsd.org Subject: Re: Build problems with amarok X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2008 20:22:50 -0000 ------=_Part_162158_16907215.1230580176334 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Dec 29, 2008 at 8:18 PM, Max Brazhnikov wrote: > On Mon, 29 Dec 2008 11:47:49 -0500, stan wrote: >> I'm building a new machine which I cvsup'd yesterday. I am having trouble >> getting the amarok port to compile. here is the end of the compile >> failure: >> Can anyne sugest how to resolve this? > amarok was broken with libmtp update to 0.3.1 (ports/126905). Expectation that > amarok will be updated soon is not right -- amarok2 (which is for KDE 4) will > be added as separate port. So someone should recreate libmtp-0.2 for amarok. Put attached patch (taken from gentoo) into amarok/files and rebuild. It worked for me Cheers -- Diego Depaoli ------=_Part_162158_16907215.1230580176334 Content-Type: application/octet-stream; name=patch-amarok_src_mediadevice_mtp_mtpmediadevice.cpp Content-Transfer-Encoding: base64 X-Attachment-Id: f_fpbjlyp70 Content-Disposition: attachment; filename=patch-amarok_src_mediadevice_mtp_mtpmediadevice.cpp LS0tIGFtYXJvay9zcmMvbWVkaWFkZXZpY2UvbXRwL210cG1lZGlhZGV2aWNlLmNwcAorKysgYW1h cm9rL3NyYy9tZWRpYWRldmljZS9tdHAvbXRwbWVkaWFkZXZpY2UuY3Bw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BtZXRhZGF0YSwgMCApOworICAgICAgICBpbnQgcmV0ID0gTElC TVRQX0NyZWF0ZV9OZXdfUGxheWxpc3QoIG1fZGV2aWNlLCBtZXRhZGF0YSApOwogICAgICAgICBp ZiggcmV0ID09IDAgKQogICAgICAgICB7CiAgICAgICAgICAgICBpdGVtLT5wbGF5bGlzdCgpLT5z ZXRJZCggbWV0YWRhdGEtPnBsYXlsaXN0X2lkICk7Cg== ------=_Part_162158_16907215.1230580176334--