net-misc/urlview-0.9 segfaults on amd64 environment as follows; urlview $MAIL -- UrlView 0.9: (1 matches) Press Q or Ctrl-C to Quit! -> 1 http://cxx.uclibc.org/ -- (and type [1] and [enter], then shows;) -- URL: http://cxx.uclibc.org/ -- (and type [enter], then segfaults.) gdb backtrace was as follows; (gdb) bt #0 0x0000002a95826ab0 in strlen () from /lib/libc.so.6 #1 0x0000002a957fcb62 in vfprintf () from /lib/libc.so.6 #2 0x0000002a9581b8b6 in vsnprintf () from /lib/libc.so.6 #3 0x0000002a95803463 in snprintf () from /lib/libc.so.6 #4 0x000000000040214c in main (argc=-1073749536, argv=0x7fbffff748) at urlview.c:510 This bug seems come from LP64 problem. The segmentation fault happens at -- snprintf (buf, sizeof (buf), command, quote (scratch, sizeof (scratch), url[current])); -- Function 'quote' is not prototyped in urlview.c, so it is mistaked to return int value (32bit), but not pointer to char (64bit). I added '#include "quote.h"' at 48th line of urlview.c, and then it works correctly here, in current.
Created attachment 50542 [details, diff] patch for the missing include bug Actually this patch adds the missing #include to line 43 to prevent a clash with the no-trailing-newline.patch Please apply and mark urlview ~amd64
sorry for the huge delay, but finally, it's fixed :)