--- /dev/null
+--- efl-webkit/Source/cmake/OptionsEfl.cmake.orig 2014-02-16 05:16:03.000000000 +0000
++++ efl-webkit/Source/cmake/OptionsEfl.cmake 2016-05-28 08:31:36.818191669 +0000
+@@ -230,7 +230,8 @@
+ set(WTF_USE_EGL 1)
+ add_definitions(-DWTF_USE_EGL=1)
+ else ()
+- CHECK_INCLUDE_FILES("GL/glx.h" OPENGLX_FOUND)
++ include(CheckIncludeFiles)
++ check_include_files("GL/glx.h" OPENGLX_FOUND)
+ add_definitions(-DWTF_USE_GLX=1)
+ endif ()
+ endif ()
--- /dev/null
+--- efl-webkit/Source/JavaScriptCore/profiler/ProfileNode.cpp~ 2014-02-02 04:21:06.000000000 +0000
++++ efl-webkit/Source/JavaScriptCore/profiler/ProfileNode.cpp 2016-05-28 08:39:06.597242990 +0000
+@@ -123,7 +123,7 @@
+ {
+ ASSERT(!m_calls.isEmpty());
+
+- if (isnan(m_calls.last().totalTime()))
++ if (std::isnan(m_calls.last().totalTime()))
+ endAndRecordCall();
+
+ // Because we iterate in post order all of our children have been stopped before us.
+@@ -147,7 +147,7 @@
+ void ProfileNode::endAndRecordCall()
+ {
+ Call& last = lastCall();
+- ASSERT(isnan(last.totalTime()));
++ ASSERT(std::isnan(last.totalTime()));
+
+ last.setTotalTime(currentTime() - last.startTime());
+
%bcond_with elementary # MiniBrowser build (needs Elementary); not installed anyway
#
%define efl_ver 1.8
-%define rel 5
+%define rel 6
Summary: WebKit-EFL - Web content engine for EFL applications
Summary(pl.UTF-8): WebKit-EFL - silnik WWW dla aplikacji EFL
Name: ewebkit
Patch5: %{name}-glib.patch
Patch6: %{name}-link.patch
Patch7: gstreamer-headers.patch
+Patch8: cmake-3.4.patch
+Patch9: cxx.patch
URL: http://trac.enlightenment.org/e/wiki/EWebKit
BuildRequires: OpenGL-devel
BuildRequires: atk-devel >= 1:2.10.0
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
+%patch9 -p1
%build
# replace -g2 with -g1 to not run into 4 GB ar format limit