openbsd-ports/print/hplip/patches/patch-prnt_hpijs_hpcupsfax_cpp
2011-03-02 06:59:03 +00:00

13 lines
464 B
Plaintext

$OpenBSD: patch-prnt_hpijs_hpcupsfax_cpp,v 1.3 2011/03/02 06:59:03 ajacoutot Exp $
--- prnt/hpijs/hpcupsfax.cpp.orig Wed Jan 19 06:15:28 2011
+++ prnt/hpijs/hpcupsfax.cpp Tue Feb 1 08:42:07 2011
@@ -92,7 +92,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))