Index: shells/posh/distinfo =================================================================== RCS file: /cvsroot/pkgsrc/shells/posh/distinfo,v retrieving revision 1.6 diff -u -r1.6 distinfo --- shells/posh/distinfo 10 Nov 2005 22:25:13 -0000 1.6 +++ shells/posh/distinfo 11 Jun 2013 15:51:14 -0000 @@ -5,3 +5,4 @@ Size (posh_0.3.14.tar.gz) = 668729 bytes SHA1 (patch-aa) = bdd8ffb67ccd60064b0fb5bda7935001f6807380 SHA1 (patch-ab) = 1e638fd21d7cab2e0a98c6383ca02e3f7acbd14f +SHA1 (patch-main.c) = f2970c631b3ef43b642a5ab0909fdadf3567d17a Index: shells/posh/patches/patch-main.c =================================================================== RCS file: shells/posh/patches/patch-main.c diff -N shells/posh/patches/patch-main.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ shells/posh/patches/patch-main.c 11 Jun 2013 15:51:14 -0000 @@ -0,0 +1,17 @@ +$NetBSD$ + +Avoid getting following warning, + main.c: In function 'main': + main.c:205:15: warning: assignment makes pointer from integer without a cast +and segfaults just after invocation on NetBSD/amd64 6.1 + +--- main.c.orig 2004-06-09 00:51:50.000000000 +0900 ++++ main.c 2013-06-12 00:40:13.000000000 +0900 +@@ -7,6 +7,7 @@ + #include "sh.h" + #include "ksh_stat.h" + #include "ksh_time.h" ++#include "src/compat.h" + + extern char **environ; +