I was building mesa following the tutorial for wayland:
http://wayland.freedesktop.org/building.html and it was failing
because EGL/egl.h could not be found for some file in wayland-drm. The
patch adds the appropriate include folder.

The repo is here: git://anongit.freedesktop.org/mesa/mesa

Regards,
Iskren
From 42052b805956bcb522faeeb4031e2f020a00c646 Mon Sep 17 00:00:00 2001
From: Iskren Chernev <iskren.cher...@gmail.com>
Date: Sun, 6 Mar 2011 21:31:56 +0200
Subject: [PATCH] Added include folder for wayland-drm in Makefile.

---
 src/egl/wayland/wayland-drm/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/egl/wayland/wayland-drm/Makefile b/src/egl/wayland/wayland-drm/Makefile
index c232769..789b020 100644
--- a/src/egl/wayland/wayland-drm/Makefile
+++ b/src/egl/wayland/wayland-drm/Makefile
@@ -12,7 +12,8 @@ wayland_drm_OBJECTS = $(wayland_drm_SOURCES:.c=.o)
 
 wayland_drm_INCLUDES = \
 		$(WAYLAND_CFLAGS) \
-		-I$(TOP)/src/egl/main
+		-I$(TOP)/src/egl/main \
+		-I$(TOP)/include
 
 # Generate protocol sources
 prefix=$(shell pkg-config --variable=prefix wayland-server)
-- 
1.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to