The attached patch adds gnulib's stpcpy. This is required on systems lacking stpcpy, e.g., NetBSD 5.1. Note: I used gnulib's sources from 2010-09-20, since this is, afaics, the date of import of gnulib files in GRUB. Grégoire