summaryrefslogtreecommitdiffstats
path: root/mageia/dependencies/qt3/qt-3.2.3-fix-cupslib.patch
blob: 5c3d5bdd3b4a9140632a96fe24765aac49ecdfdd (plain)
1
2
3
4
5
6
7
8
9
10
11
--- qt-x11-free-3.2.3/src/dialogs/qprintdialog.cpp--	2004-04-28 14:29:11.943776549 +0200
+++ qt-x11-free-3.2.3/src/dialogs/qprintdialog.cpp	2004-04-28 14:30:22.202024626 +0200
@@ -779,7 +779,7 @@ static char * parseCupsOutput( QListView
     cups_dest_t * d;
     QLibrary lib( "cups" );
     typedef int (*CupsGetDests)(cups_dest_t **dests);
-    CupsGetDests _cupsGetDests = (CupsGetDests)lib.resolve( "cupsGetDests" );
+    CupsGetDests _cupsGetDests = (CupsGetDests)QLibrary::resolve( "libcups.so.2", "cupsGetDests" );
     if ( _cupsGetDests ) {
 	nd = _cupsGetDests( &d );
 	if ( nd < 1 )