From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: w3m: 'license'; error: redefinition of 'struct file_handle' Date: Wed, 13 Feb 2013 22:53:16 +0100 Message-ID: <87ehgjkhir.fsf@gnu.org> References: <878v6spyx3.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5kGh-0002P4-FK for bug-guix@gnu.org; Wed, 13 Feb 2013 16:53:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5kGd-0001nk-Sy for bug-guix@gnu.org; Wed, 13 Feb 2013 16:53:31 -0500 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=33863 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5kGd-0001iB-MW for bug-guix@gnu.org; Wed, 13 Feb 2013 16:53:27 -0500 In-Reply-To: <878v6spyx3.fsf@karetnikov.org> (Nikita Karetnikov's message of "Wed, 13 Feb 2013 00:26:00 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Nikita Karetnikov skribis: > w3m raises the following error: > > istream.h:23:8: error: redefinition of 'struct file_handle' > > I found the needed patch [1]. But I don't want to apply it because it > requires a knowledge of C. Could anyone help me to finalize the recipe? The patch is just a matter of renaming =E2=80=98file_handle=E2=80=99 to som= ething else: http://patch-tracker.debian.org/patch/series/view/w3m/0.5.3-8/070_glibc2.= 14.patch So I think this should work: (substitute* '("istream.c" "istream.h") (("struct[[:blank:]]+file_handle") "struct w3m_file_handle")) > Also, I'm not sure what license should be used. Should we create a new > one? > > This page [2] states that w3m is under MIT, which is an ambiguous name > of the Expat License [3]. However, the License paragraph in > 'doc/README' doesn't look like Expat. Yeah, it=E2=80=99s not exactly X11 either. Hmm, dunno, maybe make it x11 or expat with a comment pointing to doc/README? Ludo=E2=80=99.