 +        COMMAND xz -f ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar
 +    )
 +endif ()
-diff -Naur webkitgtk-2.10.7/Source/WTF/wtf/Assertions.cpp webkitgtk-2.10.7/Source/WTF/wtf/Assertions.cpp
---- webkitgtk-2.10.7/Source/WTF/wtf/Assertions.cpp	2016-01-29 21:59:32.000000000 +0530
-+++ webkitgtk-2.10.7/Source/WTF/wtf/Assertions.cpp	2016-02-25 08:25:04.000000000 +0530
-@@ -71,7 +71,9 @@
- #if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))
- #include <cxxabi.h>
- #include <dlfcn.h>
--#include <execinfo.h>
-+#  ifndef __ANDROID__
-+#  include <execinfo.h>
-+#  endif
- #endif
- 
- extern "C" {
-@@ -225,7 +227,7 @@
- 
- void WTFGetBacktrace(void** stack, int* size)
- {
--#if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))
-+#if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__) && !defined(__ANDROID__))
-     *size = backtrace(stack, *size);
- #elif OS(WINDOWS)
-     // The CaptureStackBackTrace function is available in XP, but it is not defined
-diff -Naur webkitgtk-2.10.7/Source/WTF/wtf/Platform.h webkitgtk-2.10.7/Source/WTF/wtf/Platform.h
---- webkitgtk-2.10.7/Source/WTF/wtf/Platform.h	2016-01-29 21:59:32.000000000 +0530
-+++ webkitgtk-2.10.7/Source/WTF/wtf/Platform.h	2016-02-25 08:25:04.000000000 +0530
-@@ -590,7 +590,6 @@
- 
- #if OS(UNIX)
- #define HAVE_ERRNO_H 1
--#define HAVE_LANGINFO_H 1
- #define HAVE_MMAP 1
- #define HAVE_SIGNAL_H 1
- #define HAVE_STRINGS_H 1
-@@ -599,6 +598,11 @@
- #define USE_PTHREADS 1
- #endif /* OS(UNIX) */
- 
-+#if OS(UNIX) && !defined(__ANDROID__)
-+#define HAVE_LANGINFO_H 1
-+#else
-+#endif
-+
- #if (OS(FREEBSD) || OS(OPENBSD)) && !defined(__GLIBC__)
- #define HAVE_PTHREAD_NP_H 1
- #endif
-@@ -622,6 +626,9 @@
- #if !OS(WINDOWS) && !OS(SOLARIS)
- #define HAVE_TM_GMTOFF 1
- #define HAVE_TM_ZONE 1
-+#endif
-+
-+#if !defined(__ANDROID__)
- #define HAVE_TIMEGM 1
- #endif
- 
-diff -Naur webkitgtk-2.10.7/Source/WTF/wtf/PlatformGTK.cmake webkitgtk-2.10.7/Source/WTF/wtf/PlatformGTK.cmake
---- webkitgtk-2.10.7/Source/WTF/wtf/PlatformGTK.cmake	2016-01-29 21:59:32.000000000 +0530
-+++ webkitgtk-2.10.7/Source/WTF/wtf/PlatformGTK.cmake	2016-03-06 16:44:40.000000000 +0530
-@@ -15,7 +15,7 @@
-     ${GLIB_GIO_LIBRARIES}
-     ${GLIB_GOBJECT_LIBRARIES}
-     ${GLIB_LIBRARIES}
--    pthread
-+#    pthread
-     ${ZLIB_LIBRARIES}
- )
- 
-diff -Naur webkitgtk-2.10.7/Source/WTF/wtf/PlatformJSC.cmake webkitgtk-2.10.7/Source/WTF/wtf/PlatformJSC.cmake
---- webkitgtk-2.10.7/Source/WTF/wtf/PlatformJSC.cmake	1970-01-01 05:30:00.000000000 +0530
-+++ webkitgtk-2.10.7/Source/WTF/wtf/PlatformJSC.cmake	2016-04-03 17:19:11.000000000 +0530
-@@ -0,0 +1,24 @@
-+set(WTF_LIBRARY_TYPE STATIC)
-+set(WTF_OUTPUT_NAME WTFGTK)
-+
-+list(APPEND WTF_SOURCES
-+    glib/GLibUtilities.cpp
-+    glib/GMainLoopSource.cpp
-+    glib/GRefPtr.cpp
-+    glib/GThreadSafeMainLoopSource.cpp
-+    glib/MainThreadGLib.cpp
-+    glib/RunLoopGLib.cpp
-+    glib/WorkQueueGLib.cpp
-+)
-+
-+list(APPEND WTF_LIBRARIES
-+    ${GLIB_GIO_LIBRARIES}
-+    ${GLIB_GOBJECT_LIBRARIES}
-+    ${GLIB_LIBRARIES}
-+#    pthread
-+    ${ZLIB_LIBRARIES}
-+)
-+
-+list(APPEND WTF_SYSTEM_INCLUDE_DIRECTORIES
-+    ${GLIB_INCLUDE_DIRS}
-+)
-diff -Naur webkitgtk-2.10.7/Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp webkitgtk-2.10.7/Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp
---- webkitgtk-2.10.7/Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp	2016-01-28 14:25:09.000000000 +0530
-+++ webkitgtk-2.10.7/Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp	2016-02-25 08:25:04.000000000 +0530
-@@ -36,7 +36,7 @@
- 
- #include "Threading.h"
- 
--#if OS(HURD)
-+#if OS(HURD) || defined(__ANDROID__)
- // PTHREAD_KEYS_MAX is not defined in bionic nor in Hurd, so explicitly define it here.
- #define PTHREAD_KEYS_MAX 1024
- #else
-diff -Naur webkitgtk-2.10.7/Source/WebCore/CMakeLists.txt webkitgtk-2.10.7/Source/WebCore/CMakeLists.txt
+diff -Naur webkitgtk-2.10.7/Source/WebCore/CMakeLists.txt /home/eric/workspace/hemroid/vault/src/webkitgtk-2.10.7/Source/WebCore/CMakeLists.txt
 --- webkitgtk-2.10.7/Source/WebCore/CMakeLists.txt	2016-01-29 21:59:32.000000000 +0530
-+++ webkitgtk-2.10.7/Source/WebCore/CMakeLists.txt	2016-04-05 21:14:29.000000000 +0530
++++ /home/eric/workspace/hemroid/vault/src/webkitgtk-2.10.7/Source/WebCore/CMakeLists.txt	2016-04-05 22:52:15.496286112 +0530
 @@ -3670,7 +3670,16 @@
      WEBKIT_SET_EXTRA_COMPILER_FLAGS(ANGLESupport IGNORECXX_WARNINGS)
  endif ()

     // Only allow powers of two.
     unsigned log2size = static_cast<unsigned>(log2(size));
     bool isPOT(1UL << log2size == size);
diff -Naur webkitgtk-2.10.7/Source/WebCore/PlatformGTK.cmake webkitgtk-2.10.7/Source/WebCore/PlatformGTK.cmake
--- webkitgtk-2.10.7/Source/WebCore/PlatformGTK.cmake	2016-01-29 21:59:32.000000000 +0530
+++ webkitgtk-2.10.7/Source/WebCore/PlatformGTK.cmake	2016-03-13 21:31:18.000000000 +0530
@@ -201,7 +201,7 @@
     platform/text/hyphen/HyphenationLibHyphen.cpp
 )

     // Negative frequencies are allowed, in which case we alias to the positive frequency.
     fundamentalFrequency = fabsf(fundamentalFrequency);
 
diff -Naur webkitgtk-2.10.7/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp /home/eric/workspace/hemroid/vault/src/webkitgtk-2.10.7/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp
--- webkitgtk-2.10.7/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp	2015-07-22 18:07:57.000000000 +0530
+++ /home/eric/workspace/hemroid/vault/src/webkitgtk-2.10.7/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp	2016-04-05 22:52:15.496286112 +0530
@@ -77,6 +77,10 @@
 {
     ASSERT(isMainThread());
