openbsd-ports/print/hplip/patches/patch-prnt_hpijs_hpcupsfax_cpp
ajacoutot c3eff2d298 Major update to hplip-3.10.2.
Take maintainership.
Tweak, flush and fix dependencies...

Add some example on how to use hplip.
2010-03-21 11:07:43 +00:00

13 lines
464 B
Plaintext

$OpenBSD: patch-prnt_hpijs_hpcupsfax_cpp,v 1.2 2010/03/21 11:07:43 ajacoutot Exp $
--- prnt/hpijs/hpcupsfax.cpp.orig Thu Feb 25 00:05:02 2010
+++ prnt/hpijs/hpcupsfax.cpp Fri Mar 12 13:40:19 2010
@@ -90,7 +90,7 @@ static void GetLogLevel ()
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))