Nikita Karetnikov <[email protected]> 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 ‘file_handle’ to something 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’s not exactly X11 either. Hmm, dunno, maybe make it x11 or expat with a comment pointing to doc/README? Ludo’.
