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? > changes (most of them from debian[1]): > - close every file after processing, not at the end of program. > - remove limited built-in http support. > - support UTF-8 encoding when processing input. > - don't use backspaces. > - skip numbers in html tag. > - recognize all <meta> tags, not just one. > - recode input according to 'meta http-equiv' in html document. > (needs iconv) > - convert output to user's locale charset (needs iconv) > - 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. > > for conversion, I added iconv as WANTLIB; maybe we can create a FLAVOR > but I think that should be acceptable for everyday usage. > > two questions: > - how can I test the port with clang/llvm? some nice mk.conf variable? You can modify the port to add lang/llvm to MODULES, then tweak MODCLANG_ARCHS and MODCLANG_LANGS. There is no user-level knob here, ports are geared toward bulk builds. > - would be nice to add -utf8 to man: I need to use mg/vi or there > is another tool? If you want to edit a manpage then yes, a text editor might help. :) -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE