729f3f4f79
sunbird, firefox35, seamonkey). Ok & tested by landry@
24 lines
631 B
Plaintext
24 lines
631 B
Plaintext
$OpenBSD: patch-gfx_src_psshared_nsCUPSShim_cpp,v 1.2 2011/01/05 08:22:30 dcoppa Exp $
|
|
--- gfx/src/psshared/nsCUPSShim.cpp.orig Sun Dec 26 11:07:52 2010
|
|
+++ gfx/src/psshared/nsCUPSShim.cpp Sun Dec 26 11:08:25 2010
|
|
@@ -59,7 +59,7 @@ static const int gSymNameCt = sizeof(gSymName) / sizeo
|
|
PRBool
|
|
nsCUPSShim::Init()
|
|
{
|
|
- mCupsLib = PR_LoadLibrary("libcups.so.2");
|
|
+ mCupsLib = PR_LoadLibrary("libcups.so");
|
|
if (!mCupsLib)
|
|
return PR_FALSE;
|
|
|
|
@@ -87,10 +87,4 @@ nsCUPSShim::Init()
|
|
}
|
|
}
|
|
return PR_TRUE;
|
|
-}
|
|
-
|
|
-nsCUPSShim::~nsCUPSShim()
|
|
-{
|
|
- if (mCupsLib)
|
|
- PR_UnloadLibrary(mCupsLib);
|
|
}
|