Ticket #42776: patch-prnt_hpijs_globals.cpp

File patch-prnt_hpijs_globals.cpp, 394 bytes (added by okmacports@…, 11 years ago)
Line 
1--- ./prnt/hpijs/globals.cpp.orig       2014-03-10 14:53:52.000000000 +0100
2+++ ./prnt/hpijs/globals.cpp    2014-03-10 14:56:40.000000000 +0100
3@@ -251,7 +251,7 @@
4     void    *ptemp = NULL;
5     char    *p = NULL;
6     int     bFound = 0;
7-    if ((fp = fopen ("/etc/hp/hplip.conf", "r")) == NULL)
8+    if ((fp = fopen ("@PREFIX@/etc/hp/hplip.conf", "r")) == NULL)
9     {
10         return NULL;
11     }