openbsd-ports/print/hplip/patches/patch-prnt_hpijs_hpijs_cpp
ajacoutot b7e6f6dba1 Update to hplip-3.13.2.
Some parts of the tools are still somewhat WIP; however, thanks to a
donation from linuxfund.org this has been successfully tested on a HP
OfficeJet 7500 e910, using STP discovery over WiFi with automatic PPD
generation. Scanning, printing, cartridge information... working.
2013-03-08 06:51:46 +00:00

13 lines
459 B
Plaintext

$OpenBSD: patch-prnt_hpijs_hpijs_cpp,v 1.2 2013/03/08 06:51:46 ajacoutot Exp $
--- prnt/hpijs/hpijs.cpp.orig Wed Feb 13 17:34:10 2013
+++ prnt/hpijs/hpijs.cpp Fri Feb 22 15:05:18 2013
@@ -77,7 +77,7 @@ void setLogLevel(UXServices *pSS)
FILE *fp;
char str[258];
char *p;
- fp = fopen ("/etc/cups/cupsd.conf", "r");
+ fp = fopen ("${SYSCONFDIR}/cups/cupsd.conf", "r");
if (fp == NULL)
return;
while (!feof (fp))