Error with git master:

+ make -j2 V=1
./cogl-material.c:41:32: error: cogl-color-private.h: No such file or directory
./cogl-material.c: In function '_cogl_material_get_colorubv':
./cogl-material.c:3251: warning: implicit declaration of function
'_cogl_color_get_rgba_4ubv'

Attached patch fixes the issue for me.

Richard.
From 038011c224aeb21325685e3abb3e564eb94ce5b5 Mon Sep 17 00:00:00 2001
From: Richard Hughes <rich...@hughsie.com>
Date: Tue, 15 Jun 2010 22:36:19 +0100
Subject: [PATCH] Fix a compiler warning when using make dist

---
 clutter/cogl/cogl/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/clutter/cogl/cogl/Makefile.am b/clutter/cogl/cogl/Makefile.am
index 59cff8f..0540166 100644
--- a/clutter/cogl/cogl/Makefile.am
+++ b/clutter/cogl/cogl/Makefile.am
@@ -101,6 +101,7 @@ cogl_sources_c = \
 	$(srcdir)/cogl-feature-private.h                \
 	$(srcdir)/cogl-feature-private.c                \
 	$(srcdir)/cogl-fixed.c		    		\
+	$(srcdir)/cogl-color-private.h    		\
 	$(srcdir)/cogl-color.c				\
 	$(srcdir)/cogl-buffer-private.h 		\
 	$(srcdir)/cogl-buffer.c				\
-- 
1.7.1

Reply via email to