Blame SOURCES/qt-x11-free-3.3.3-gl.patch

106311
--- qt-x11-free-3.3.3/src/opengl/qgl_x11.cpp.orig	2004-08-18 14:55:20.629068213 +0200
106311
+++ qt-x11-free-3.3.3/src/opengl/qgl_x11.cpp	2004-08-18 15:00:43.090260739 +0200
106311
@@ -125,7 +125,7 @@
106311
     if (gl_syms_resolved)
106311
 	return TRUE;
106311
 
106311
-    QLibrary gl("GL");
106311
+    QLibrary gl("GL.so.1");
106311
     gl.setAutoUnload(FALSE);
106311
 
106311
     qt_glCallLists = (_glCallLists) gl.resolve("glCallLists");
106311
@@ -283,7 +283,7 @@
106311
 	typedef Status (*_XmuLookupStandardColormap)( Display *dpy, int screen, VisualID visualid, unsigned int depth,
106311
 						      Atom property, Bool replace, Bool retain );
106311
 	_XmuLookupStandardColormap qt_XmuLookupStandardColormap;
106311
-	qt_XmuLookupStandardColormap = (_XmuLookupStandardColormap) QLibrary::resolve("Xmu", "XmuLookupStandardColormap");
106311
+	qt_XmuLookupStandardColormap = (_XmuLookupStandardColormap) QLibrary::resolve("Xmu.so.6", "XmuLookupStandardColormap");
106311
 	if (!qt_XmuLookupStandardColormap)
106311
 	    qFatal("Unable to resolve Xmu symbols - please check your Xmu library installation.");
106311
 #define XmuLookupStandardColormap qt_XmuLookupStandardColormap
106311
--- qt-x11-free-3.3.3/src/tools/qlibrary.cpp.orig	2004-08-18 14:56:00.322185890 +0200
106311
+++ qt-x11-free-3.3.3/src/tools/qlibrary.cpp	2004-08-18 14:57:51.939637946 +0200
106311
@@ -425,6 +425,7 @@
106311
 	    } else {
106311
 		tmpfilename = QString( "lib%1" ).arg( filename );
106311
 	    }
106311
+	    if ( !filename.contains(".so") )
106311
 	    tmpfilename += filter;
106311
 	    if(QFile::exists(tmpfilename) || it == filters.end()) {
106311
 		filename = tmpfilename;