diff --git a/patch/patch.cfg b/patch/patch.cfg index ae6fde745..93ff8d5fe 100644 --- a/patch/patch.cfg +++ b/patch/patch.cfg @@ -41,6 +41,12 @@ patches = [ 'name': 'webkit_popups', 'path': '../third_party/WebKit/', }, + { + # Fix export of UnderlayOpenGLHostingWindow for 64-bit OS X builds. + # http://code.google.com/p/chromiumembedded/issues/detail?id=1051 + 'name': 'underlay_1051', + 'path': '../ui/base/cocoa/', + }, { # http://code.google.com/p/chromiumembedded/issues/detail?id=364 'name': 'spi_webcore_364', diff --git a/patch/patches/underlay_1051.patch b/patch/patches/underlay_1051.patch new file mode 100644 index 000000000..1c837493f --- /dev/null +++ b/patch/patches/underlay_1051.patch @@ -0,0 +1,13 @@ +Index: underlay_opengl_hosting_window.h +=================================================================== +--- underlay_opengl_hosting_window.h (revision 214871) ++++ underlay_opengl_hosting_window.h (working copy) +@@ -12,7 +12,7 @@ + // Common base class for windows that host a OpenGL surface that renders under + // the window. Contains methods relating to hole punching so that the OpenGL + // surface is visible through the window. +-UI_EXPORT ++__attribute__((visibility("default"))) + @interface UnderlayOpenGLHostingWindow : NSWindow + @end +