syslog-ng: Bump version to 3.7.3
[buildroot-gz.git] / package / libepoxy / 0005-Forward-egl-cflags-into-epoxy.pc.patch
blobd13f01def54c9f93f2148a62f3babab98ef843a6
1 From 68e5f1574758240aedfe8653d7aaae62cdb08bf5 Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Sun, 20 Dec 2015 10:07:06 -0300
4 Subject: [PATCH] Forward egl cflags into epoxy.pc
6 When building mesa egl without x11 and gles2 the headers need a
7 MESA_EGL_NO_X11_HEADERS define, so put them in epoxy.pc as well since
8 otherwise builds will fail.
10 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
11 ---
12 Status: pull request https://github.com/anholt/libepoxy/pull/80
14 configure.ac | 2 ++
15 epoxy.pc.in | 2 +-
16 2 files changed, 3 insertions(+), 1 deletion(-)
18 diff --git a/configure.ac b/configure.ac
19 index c7cffb2..7b599de 100644
20 --- a/configure.ac
21 +++ b/configure.ac
22 @@ -102,6 +102,8 @@ if test x$build_egl = xyes; then
23 AC_DEFINE([BUILD_EGL], [1], [build EGL tests])
26 +AC_SUBST(EGL_CFLAGS)
28 PKG_CHECK_MODULES(GL, [gl], [gl=yes], [gl=no])
29 if test x$gl = xno; then
30 build_glx=no
31 diff --git a/epoxy.pc.in b/epoxy.pc.in
32 index 8c85a33..f377da5 100644
33 --- a/epoxy.pc.in
34 +++ b/epoxy.pc.in
35 @@ -6,6 +6,6 @@ includedir=@includedir@
36 Name: epoxy
37 Description: epoxy GL dispatch Library
38 Version: @PACKAGE_VERSION@
39 -Cflags: -I${includedir}
40 +Cflags: -I${includedir} @EGL_CFLAGS@
41 Libs: -L${libdir} -lepoxy
42 Libs.private: @DLOPEN_LIBS@
43 --
44 2.4.10