[mingw-webkitgtk3] Fix build failure when mingw-dlfcn isn't installed

Erik van Pienbroek epienbro at fedoraproject.org
Sun Dec 15 19:10:50 UTC 2013


commit d5e564bf4d4266b06f98e363c232fe2f4f90c180
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Sun Dec 15 20:10:56 2013 +0100

    Fix build failure when mingw-dlfcn isn't installed

 webkitgtk-mingw-opengl.patch |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/webkitgtk-mingw-opengl.patch b/webkitgtk-mingw-opengl.patch
index 819d755..b238a65 100644
--- a/webkitgtk-mingw-opengl.patch
+++ b/webkitgtk-mingw-opengl.patch
@@ -23,6 +23,15 @@
  fi
 --- webkitgtk-2.2.3/Source/WebCore/platform/graphics/OpenGLShims.cpp.orig	2013-12-05 21:50:59.704893040 +0100
 +++ webkitgtk-2.2.3/Source/WebCore/platform/graphics/OpenGLShims.cpp	2013-12-05 21:52:14.032617235 +0100
+@@ -22,7 +22,7 @@
+ #define DISABLE_SHIMS
+ #include "OpenGLShims.h"
+ 
+-#if !PLATFORM(QT) && !PLATFORM(WIN)
++#if !PLATFORM(QT) && !OS(WINDOWS)
+ #include <dlfcn.h>
+ #endif
+ 
 @@ -44,10 +44,10 @@
          return reinterpret_cast<void*>(context->getProcAddress(procName));
      return 0;


More information about the scm-commits mailing list