From 9f4efb50332266fb051cf65617d17f05b5584181 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 11 Dec 2017 16:41:03 +0100 Subject: [PATCH] colord: Disable GUDEV support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The build currently fails with the errors below. So disable GUDEV support. ``` […] CC libcolord_la-cd-sensor-sync.lo /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c: In function ‘cd_edid_convert_pnp_id_to_string’: /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:126:9: error: implicit declaration of function ‘udev_hwdb_new’ [-Werror=implicit-function-declaration] hwdb = udev_hwdb_new (udev); ^ /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:126:2: warning: nested extern declaration of ‘udev_hwdb_new’ [-Wnested-externs] hwdb = udev_hwdb_new (udev); ^ /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:126:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] hwdb = udev_hwdb_new (udev); ^ /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:132:6: error: implicit declaration of function ‘udev_hwdb_get_properties_list_entry’ [-Werror=implicit-function-declaration] e = udev_hwdb_get_properties_list_entry (hwdb, modalias, 0); ^ /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:132:2: warning: nested extern declaration of ‘udev_hwdb_get_properties_list_entry’ [-Wnested-externs] e = udev_hwdb_get_properties_list_entry (hwdb, modalias, 0); ^ /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:132:4: warning: assignment makes pointer from integer without a cast [-Wint-conversion] e = udev_hwdb_get_properties_list_entry (hwdb, modalias, 0); ^ /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:145:3: error: implicit declaration of function ‘udev_hwdb_unref’ [-Werror=implicit-function-declaration] udev_hwdb_unref (hwdb); ^ /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:145:3: warning: nested extern declaration of ‘udev_hwdb_unref’ [-Wnested-externs] cc1: some warnings being treated as errors Makefile:1171: recipe for target 'libcolordprivate_la-cd-edid.lo' failed […] ``` --- colord.be0 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/colord.be0 b/colord.be0 index 8fc0c8fa6..b747cd050 100755 --- a/colord.be0 +++ b/colord.be0 @@ -31,7 +31,8 @@ mee_configure() { --disable-argyllcms-sensor \ --disable-gusb \ --disable-static \ - --disable-systemd-login + --disable-systemd-login \ + --disable-udev } #mee_build() {