]> git.pld-linux.org Git - packages/chromium-browser.git/blob - dlopen_sonamed_gl.patch
- updated for 14.0.803.0
[packages/chromium-browser.git] / dlopen_sonamed_gl.patch
1 dlopen the sonamed libs directly, like it has already been done for libGL.so.1,
2 as we don't want to Depend on the -dev packages for the .so files:
3 - libosmesa.so.7: Mesa-libOSMesa-7.10-1
4 - libGLESv2.so.2: Mesa-libGLES-7.11-0.20110227.1
5 - libEGL.so.1: Mesa-libEGL-7.10-1
6
7 --- chromium-browser-14.0.803.0~svn20110625r90472/src/ui/gfx/gl/gl_implementation_linux.cc.orig 2011-06-23 04:01:00.000000000 +0200
8 +++ chromium-browser-14.0.803.0~svn20110625r90472/src/ui/gfx/gl/gl_implementation_linux.cc      2011-06-25 06:28:03.219139002 +0200
9 @@ -61,7 +61,7 @@
10        }
11  
12        base::NativeLibrary library = LoadLibrary(
13 -          module_path.Append("libosmesa.so"));
14 +          module_path.Append("libosmesa.so.7"));
15        if (!library)
16          return false;
17  
18 @@ -107,10 +107,10 @@
19        break;
20      }
21      case kGLImplementationEGLGLES2: {
22 -      base::NativeLibrary gles_library = LoadLibrary("libGLESv2.so");
23 +      base::NativeLibrary gles_library = LoadLibrary("libGLESv2.so.2");
24        if (!gles_library)
25          return false;
26 -      base::NativeLibrary egl_library = LoadLibrary("libEGL.so");
27 +      base::NativeLibrary egl_library = LoadLibrary("libEGL.so.1");
28        if (!egl_library) {
29          base::UnloadNativeLibrary(gles_library);
30          return false;
This page took 0.203832 seconds and 4 git commands to generate.