From 0704427510fa18d90170cf13d1fd81e446a1d3b0 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Thu, 2 Aug 2012 11:13:00 +0200 Subject: Mageia: initial QT3 version for TDE 3.5.13 --- mageia/dependencies/qt3/qt-3.2.3-fix-cupslib.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mageia/dependencies/qt3/qt-3.2.3-fix-cupslib.patch (limited to 'mageia/dependencies/qt3/qt-3.2.3-fix-cupslib.patch') diff --git a/mageia/dependencies/qt3/qt-3.2.3-fix-cupslib.patch b/mageia/dependencies/qt3/qt-3.2.3-fix-cupslib.patch new file mode 100644 index 000000000..5c3d5bdd3 --- /dev/null +++ b/mageia/dependencies/qt3/qt-3.2.3-fix-cupslib.patch @@ -0,0 +1,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 ) -- cgit v1.2.1