[Midnightbsd-cvs] mports [21024] trunk/www/webkit2-gtk3: patch cmake build issue

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Feb 15 08:40:15 EST 2016


Revision: 21024
          http://svnweb.midnightbsd.org/mports/?rev=21024
Author:   laffer1
Date:     2016-02-15 08:39:15 -0500 (Mon, 15 Feb 2016)
Log Message:
-----------
patch cmake build issue

Modified Paths:
--------------
    trunk/www/webkit2-gtk3/Makefile

Added Paths:
-----------
    trunk/www/webkit2-gtk3/files/patch-bug150117

Modified: trunk/www/webkit2-gtk3/Makefile
===================================================================
--- trunk/www/webkit2-gtk3/Makefile	2016-02-15 13:36:46 UTC (rev 21023)
+++ trunk/www/webkit2-gtk3/Makefile	2016-02-15 13:39:15 UTC (rev 21024)
@@ -3,6 +3,7 @@
 
 PORTNAME=	webkit
 PORTVERSION=	2.8.5
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://webkitgtk.org/releases/
 PKGNAMESUFFIX=	2-gtk3

Added: trunk/www/webkit2-gtk3/files/patch-bug150117
===================================================================
--- trunk/www/webkit2-gtk3/files/patch-bug150117	                        (rev 0)
+++ trunk/www/webkit2-gtk3/files/patch-bug150117	2016-02-15 13:39:15 UTC (rev 21024)
@@ -0,0 +1,39 @@
+Fixes the build with CMake 3.4.0.
+
+------------------------------------------------------------------------
+r191042 | commit-queue at webkit.org | 2015-10-14 12:57:49 +0200 (Wed, 14 Oct 2015) | 12 lines
+
+[GTK][EFL] Fix build with cmake 3.4
+https://bugs.webkit.org/show_bug.cgi?id=150117
+
+Explicitely include the CheckIncludeFiles module before using
+the CHECK_INCLUDE_FILES command.
+
+Patch by Tomas Popela <tpopela at redhat.com> on 2015-10-14
+Reviewed by Žan Doberšek.
+
+* Source/cmake/FindOpenGL.cmake:
+* Source/cmake/FindWebP.cmake:
+* Source/cmake/OptionsEfl.cmake:
+------------------------------------------------------------------------
+
+Index: /trunk/Source/cmake/FindOpenGL.cmake
+===================================================================
+--- Source/cmake/FindOpenGL.cmake	(revision 191041)
++++ Source/cmake/FindOpenGL.cmake	(revision 191042)
+@@ -60,4 +60,5 @@
+     CMAKE_PUSH_CHECK_STATE()
+     set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${OPENGL_INCLUDE_DIRS})
++    include(CheckIncludeFiles)
+     check_include_files("GL/glx.h" GLX_FOUND)
+     CMAKE_POP_CHECK_STATE()
+Index: /trunk/Source/cmake/FindWebP.cmake
+===================================================================
+--- Source/cmake/FindWebP.cmake	(revision 191041)
++++ Source/cmake/FindWebP.cmake	(revision 191042)
+@@ -36,4 +36,5 @@
+     # Older installations of libwebp do not install a pkgconfig file, so we fall
+     # back to a manual search for a libwebp header file.
++    include(CheckIncludeFiles)
+     check_include_files("webp/decode.h" WEBP_FOUND_HEADER)
+     if (WEBP_FOUND_HEADER)


Property changes on: trunk/www/webkit2-gtk3/files/patch-bug150117
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list