all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nikita Karetnikov <nikita@karetnikov.org>
To: Mark H Weaver <mhw@netris.org>
Cc: bug-guix@gnu.org
Subject: Re: w3m: 'license'; error: redefinition of 'struct file_handle'
Date: Wed, 13 Feb 2013 01:57:40 -0500	[thread overview]
Message-ID: <87d2w4hf9i.fsf@karetnikov.org> (raw)
In-Reply-To: <8738x0lq31.fsf@tines.lan> (Mark H. Weaver's message of "(unknown date)")

[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]

> 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 #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2013-02-13  6:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-13  5:26 w3m: 'license'; error: redefinition of 'struct file_handle' Nikita Karetnikov
2013-02-13  5:50 ` Mark H Weaver
2013-02-13  6:57   ` Nikita Karetnikov [this message]
2013-03-03 22:56     ` Cyril Roelandt
2013-03-04  5:34       ` [PATCH] gnu: Add w3m. (was: w3m: 'license'; error: redefinition of 'struct file_handle') Nikita Karetnikov
2013-03-04 10:09         ` [PATCH] gnu: Add w3m Ludovic Courtès
2013-02-13  6:28 ` w3m: 'license'; error: redefinition of 'struct file_handle' Mark H Weaver
2013-02-13 10:43   ` Andreas Enge
2013-02-13 21:56     ` Ludovic Courtès
2013-02-14  3:20       ` Mark H Weaver
2013-02-15  6:43       ` Mark H Weaver
2013-02-15 14:38         ` Ludovic Courtès
2013-02-15 19:59           ` Mark H Weaver
2013-02-13 21:53 ` Ludovic Courtès
2013-03-02 15:12 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2w4hf9i.fsf@karetnikov.org \
    --to=nikita@karetnikov.org \
    --cc=bug-guix@gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.