gfx/angle/angle-build-stdcall-alias.patch
author Cameron McCormack <cam@mcc.id.au>
Tue, 04 Jun 2013 00:15:29 +1000
changeset 145294 a4523b6a2e5f8c60a433039f52608883b8ba8431
parent 129626 a941576624be57425157655d9367ff473e87c1c6
permissions -rw-r--r--
Bug 873806 - Part 2: Make descendants of non-display nsSVGForeignObjectFrame also non-display. r=longsonr

From: Jeff Gilbert <jgilbert@mozilla.com>

diff --git a/gfx/angle/src/libGLESv2/libGLESv2.def b/gfx/angle/src/libGLESv2/libGLESv2.def
--- a/gfx/angle/src/libGLESv2/libGLESv2.def
+++ b/gfx/angle/src/libGLESv2/libGLESv2.def
@@ -175,8 +175,13 @@ EXPORTS
 
     ; EGL dependencies
     glCreateContext                 @144 NONAME
     glDestroyContext                @145 NONAME
     glMakeCurrent                   @146 NONAME
     glGetCurrentContext             @147 NONAME
     glGetProcAddress                @148 NONAME
     glBindTexImage                  @158 NONAME
+
+    ; GCC has problems with linking to undecorated stdcall functions,
+    ; so we explicitly add aliases for APIs used by EGL.
+    glGetProcAddress@4=glGetProcAddress
+    glBindTexImage@4=glBindTexImage