Bug 64640 - cms-colord doesn't build
Summary: cms-colord doesn't build
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-15 15:01 UTC by Juan A. Suarez
Modified: 2013-05-15 15:42 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Fix bug (732 bytes, text/plain)
2013-05-15 15:01 UTC, Juan A. Suarez
Details

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.