$NetBSD: patch-aa,v 1.2 2010/08/12 12:22:44 gdt Exp $ Force, somewhat hackishly, the use of cups lpstat. Probably upstream should find these paths at configure time. --- src/gutenprintui2/plist.c.orig 2008-02-02 11:06:55.000000000 -0500 +++ src/gutenprintui2/plist.c @@ -96,7 +96,7 @@ static const print_system_t default_prin static print_system_t known_printing_systems[] = { { "CUPS", N_("CUPS"), "lp -s", "-d", "-oraw", "/usr/sbin/cupsd", - "/usr/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'", + "/usr/pkg/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'", "-n" }, { "SysV", N_("System V lp"), "lp -s", "-d", "-oraw", "/usr/bin/lp", "/usr/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'",