On 2017/02/01 08:58, Davide Gerhard wrote: > > On Monday, 23/01/2017 10:32 GMT, Jeremie Courreges-Anglas wrote: > > > Davide Gerhard <rain...@irh.it> writes: > > > >> hello, > >> just some fixes. > > > > Those don't look like "just fixes". There may be actual bug fixes here, > > but other changes look intrusive. What about trying to prod/help > > upstream so that those changes don't rot in our tree? > > you are right, sorry; I did a mashup copying debian's patch set. > > bug fixes: > - close every file after processing, not at the end of program. > - recognize all <meta> tags, not just one. > - correctly specify NULLs for 64-bit architectures. > - substituted 'char*' with 'const char*' in needed places to avoid > 'deprecated conversion from string constant to ‘char*’' warnings. > - validate --width parameter input. > - fix CXX variable on configure and now should compile with clang. > > changes/new features: > - remove limited built-in http support. > - support UTF-8 encoding when processing input. > - don't use backspaces. > - skip numbers in html tag. > - recode input according to 'meta http-equiv' in html document. > (needs iconv) > - convert output to user's locale charset (needs iconv) > > > I wrote to the developer but no answer yet. The utf-8 patch is done by > him but he didn't released a new version with that therefore I am not so > confident on a new release. The last one go back to 2004/2005. > > So, probably, we need to maintain some/all of those in ports.
Another option would be to ask whoever wrote these patches if they can publish it as a repository somewhere.. It is effectively forked, so it would be a lot simpler to handle this as an update rather than a patchset (especially with the regenerated bison parser).