]> git.pld-linux.org Git - packages/chromium-browser.git/blob - dlopen_sonamed_gl.patch
- up to 13.0.771.0-0.86035.1
[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-12.0.741.0~svn20110419r82050/src/ui/gfx/gl/gl_implementation_linux.cc~     2011-04-19 05:00:54.000000000 +0300
8 +++ chromium-browser-12.0.741.0~svn20110419r82050/src/ui/gfx/gl/gl_implementation_linux.cc      2011-04-19 20:35:27.149741018 +0300
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          return false;
30  
This page took 0.0219 seconds and 3 git commands to generate.