Bug 64640

Summary: cms-colord doesn't build
Product: Wayland Reporter: Juan A. Suarez <jasuarez>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: jasuarez
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Fix bug

Description Juan A. Suarez 2013-05-15 15:01:41 UTC
Created attachment 79352 [details]
Fix bug

The module_init() function is different as it is defined in compositor.h
Comment 1 Kristian Høgsberg 2013-05-15 15:42:54 UTC
Thanks.  Just committed Richards patch from the list to master:

commit 2379a65c9fb713280a7dc279953967c9ff1b4aca
Author: Richard Hughes <hughsient@gmail.com>
Date:   Wed May 15 09:17:37 2013 +0100

    cms-colord: Fix build after the API change 'Honor XDG_CONFIG_DIRS'

diff --git a/src/cms-colord.c b/src/cms-colord.c
index 33f23b2..af6b5fa 100644
--- a/src/cms-colord.c
+++ b/src/cms-colord.c
@@ -478,7 +478,7 @@ colord_cms_output_destroy(gpointer data)
 
 WL_EXPORT int
 module_init(struct weston_compositor *ec,
-           int *argc, char *argv[], const char *config_file)
+           int *argc, char *argv[])
 {
        gboolean ret;
        GError *error = NULL;

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.