openbsd-ports/x11/qt4/patches/patch-src_gui_painting_qcups_cpp
2012-08-04 15:07:24 +00:00

16 lines
592 B
Plaintext

$OpenBSD: patch-src_gui_painting_qcups_cpp,v 1.1 2012/08/04 15:07:25 ajacoutot Exp $
libcups.so.2 -> libcups.so
--- src/gui/painting/qcups.cpp.orig Sun Jul 29 12:16:17 2012
+++ src/gui/painting/qcups.cpp Sun Jul 29 12:16:36 2012
@@ -87,7 +87,7 @@ static CupsPrintFile _cupsPrintFile = 0;
static void resolveCups()
{
- QLibrary cupsLib(QLatin1String("cups"), 2);
+ QLibrary cupsLib(QLatin1String("cups"));
if(cupsLib.load()) {
_cupsGetDests = (CupsGetDests) cupsLib.resolve("cupsGetDests");
_cupsFreeDests = (CupsFreeDests) cupsLib.resolve("cupsFreeDests");