bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: w3m: 'license'; error: redefinition of 'struct file_handle'


From: Nikita Karetnikov
Subject: Re: w3m: 'license'; error: redefinition of 'struct file_handle'
Date: Wed, 13 Feb 2013 01:57:40 -0500

> Just replace "struct file_handle" with "struct io_file_handle"
> everywhere in the w3m source code.  That will have no effect on the
> operation of the program whatsoever.

I used the following:

    (arguments `(#:tests? #f ; no 'check' target
                 #:phases (alist-cons-before
                           'configure 'fix-perl-and-rename-file_handle
                           (lambda _
                             (substitute* '("scripts/w3mmail.cgi.in"
                                            "scripts/dirlist.cgi.in")
                               (("@PERL@") (which "perl")))
                             ;; https://launchpad.net/bugs/935540
                             ;; 'struct file_handle' is used by 'glibc'
                             (substitute* '("istream.c"
                                            "istream.h")
                               (("struct file_handle")
                                "struct io_file_handle")))
                           %standard-phases)))

But I guess that it's not enough because the 'build' phase failed:

main.c: In function 'main':
main.c:836:23: error: void value not ignored as it ought to be
main.c: In function 'getChar':
main.c:2264:5: warning: passing argument 1 of 'wtf_parse1' from incompatible 
pointer type [enabled by default]
In file included from fm.h:44:0,
                 from main.c:3:
./libwc/wtf.h:71:19: note: expected 'wc_uchar **' but argument is of type 'char 
**'
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....

Attachment: pgpXj88Yq5Vy7.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]