summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2020-11-07 16:50:56 +0200
committerMart Raudsepp <leio@gentoo.org>2020-11-07 17:21:37 +0200
commitaa0e79fed58d8ef58f7db2634bb993ad6d58ffd5 (patch)
tree40c2c45641bf7bd4ea67a0e2e339a17016942d2d /media-libs/cogl/files/cogl-eglmesaext-include.patch
parentmedia-gfx/shotwell: remove old (diff)
downloadgentoo-aa0e79fed58d8ef58f7db2634bb993ad6d58ffd5.tar.gz
gentoo-aa0e79fed58d8ef58f7db2634bb993ad6d58ffd5.tar.bz2
gentoo-aa0e79fed58d8ef58f7db2634bb993ad6d58ffd5.zip
media-libs/cogl: remove old
Package-Manager: Portage-2.3.103, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'media-libs/cogl/files/cogl-eglmesaext-include.patch')
-rw-r--r--media-libs/cogl/files/cogl-eglmesaext-include.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/media-libs/cogl/files/cogl-eglmesaext-include.patch b/media-libs/cogl/files/cogl-eglmesaext-include.patch
deleted file mode 100644
index eff5c6841e1..00000000000
--- a/media-libs/cogl/files/cogl-eglmesaext-include.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 9c4764224aded552fb855b1c2b85b26d2b894adf Mon Sep 17 00:00:00 2001
-From: Alexander Tsoy <alexander@tsoy.me>
-Date: Tue, 29 Oct 2019 18:17:51 +0300
-Subject: [PATCH] Fix building against libglvnd-provided EGL headers
-
-Add missing EGL/eglmesaext.h include. When building against mesa-provided
-headers, this header is included indirectly via EGL/eglext.h.
-
-Also fix typo COGL_EGL_INCLUDE -> COGL_EGL_INCLUDES
----
- configure.ac | 16 ++++++++++++++--
- 1 file changed, 14 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index da188edd..b0b0c94d 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -670,10 +670,15 @@ AS_IF([test "x$enable_gles1" = "xyes"],
- AC_SUBST([COGL_EGL_INCLUDES])
-
- AC_CHECK_HEADERS([EGL/eglext.h],
-- [COGL_EGL_INCLUDES="$COGL_EGL_INCLUDE
-+ [COGL_EGL_INCLUDES="$COGL_EGL_INCLUDES
- #include <EGL/eglext.h>"],
- [],
- [$COGL_EGL_INCLUDES])
-+ AC_CHECK_HEADERS([EGL/eglmesaext.h],
-+ [COGL_EGL_INCLUDES="$COGL_EGL_INCLUDES
-+#include <EGL/eglmesaext.h>"],
-+ [],
-+ [$COGL_EGL_INCLUDES])
-
- # Check for a GLES 1.x Common Profile library with/without EGL.
- #
-@@ -1178,6 +1183,12 @@ AS_IF([test "x$NEED_EGL" = "xyes" && test "x$EGL_CHECKED" != "xyes"],
- [],
- [AC_MSG_ERROR([Unable to locate required EGL headers])],
- [#include <EGL/egl.h>])
-+ AC_CHECK_HEADERS(
-+ [EGL/eglmesaext.h],
-+ [],
-+ [AC_MSG_ERROR([Unable to locate required EGL headers])],
-+ [#include <EGL/egl.h>
-+#include <EGL/eglext.h>])
-
- AC_CHECK_LIB(EGL, [eglInitialize],
- [COGL_EXTRA_LDFLAGS="$COGL_EXTRA_LDFLAGS -lEGL"],
-@@ -1188,7 +1199,8 @@ AS_IF([test "x$NEED_EGL" = "xyes" && test "x$EGL_CHECKED" != "xyes"],
- )
-
- COGL_EGL_INCLUDES="#include <EGL/egl.h>
--#include <EGL/eglext.h>"
-+#include <EGL/eglext.h>
-+#include <EGL/eglmesaext.h>"
- AC_SUBST([COGL_EGL_INCLUDES])
- ])
-
---
-2.22.0
-