openbsd-ports/print/hplip/patches/patch-prnt_hpijs_globals_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
494 B
Plaintext

$OpenBSD: patch-prnt_hpijs_globals_cpp,v 1.3 2010/03/21 11:07:43 ajacoutot Exp $
--- prnt/hpijs/globals.cpp.orig Thu Feb 25 00:10:32 2010
+++ prnt/hpijs/globals.cpp Fri Mar 12 13:40:17 2010
@@ -251,7 +251,7 @@ void *LoadPlugin (const char *szPluginName)
void *ptemp = NULL;
char *p = NULL;
int bFound = 0;
- if ((fp = fopen ("/etc/hp/hplip.conf", "r")) == NULL)
+ if ((fp = fopen ("${SYSCONFDIR}/hp/hplip.conf", "r")) == NULL)
{
return NULL;
}