• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libepoxy/0005-Forward-egl-cflags-into-epoxy.pc.patch
Gustavo ZacariasGustavo Zacarias committed 0911f32d1c309 Mar 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
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
5
​
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.
9
​
10
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
11
---
12
Status: pull request https://github.com/anholt/libepoxy/pull/80
13
​
14
 configure.ac | 2 ++
15
 epoxy.pc.in  | 2 +-
16
 2 files changed, 3 insertions(+), 1 deletion(-)
17
​
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])
24
 fi
25
 
26
+AC_SUBST(EGL_CFLAGS)
27
+
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
45
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.