diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2013-07-12 20:02:55 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2013-07-12 20:02:55 +0000 |
commit | 416d2c003ad789b38dc954d4de224130f0500e8c (patch) | |
tree | d90b19866058e66df61672a2ebc6d8c5cc830f66 /net-print/cups/files | |
parent | Fix for Prefix, patch by igrek in bug #456720 (diff) | |
download | gentoo-2-416d2c003ad789b38dc954d4de224130f0500e8c.tar.gz gentoo-2-416d2c003ad789b38dc954d4de224130f0500e8c.tar.bz2 gentoo-2-416d2c003ad789b38dc954d4de224130f0500e8c.zip |
Add colord profile fix from Debian, bug 475714
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)
Diffstat (limited to 'net-print/cups/files')
-rw-r--r-- | net-print/cups/files/cups-1.6.3-colord-profile.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-print/cups/files/cups-1.6.3-colord-profile.patch b/net-print/cups/files/cups-1.6.3-colord-profile.patch new file mode 100644 index 000000000000..c03968099446 --- /dev/null +++ b/net-print/cups/files/cups-1.6.3-colord-profile.patch @@ -0,0 +1,32 @@ +Description: Add colord profile fix +Author: Alexey Galakhov <agalakhov@gmail.com> +Bug-Debian: http://bugs.debian.org/711868 +Last-Update: 2013-06-10 + +--- cups-1.6.2.orig/scheduler/colorman.c 2013-02-20 05:53:01.000000000 +0600 ++++ cups-1.6.2/scheduler/colorman.c 2013-06-10 18:50:49.000000000 +0600 +@@ -84,10 +84,13 @@ + # define COLORD_KIND_PRINTER "printer" + /* printing output device */ + +-# define COLORD_DBUS_MSG(p,m) dbus_message_new_method_call(\ ++# define COLORD_DBUS_MSG_PARM(p,x,m) dbus_message_new_method_call(\ + "org.freedesktop.ColorManager", (p),\ +- "org.freedesktop.ColorManager", (m)) ++ "org.freedesktop.ColorManager" x, (m)) + /* Macro to make new colord messages */ ++# define COLORD_DBUS_MSG(p,m) COLORD_DBUS_MSG_PARM(p,"",m) ++ /* Macro to make new colord messages */ ++ + # define COLORD_DBUS_PATH "/org/freedesktop/ColorManager" + /* Path for color management system */ + # define COLORD_DBUS_TIMEOUT 5000 /* Timeout for connecting to colord in ms */ +@@ -1177,7 +1180,7 @@ + DBusError error; /* D-Bus error */ + + +- message = COLORD_DBUS_MSG(device_path, "AddProfile"); ++ message = COLORD_DBUS_MSG_PARM(device_path, ".Device", "AddProfile"); + + dbus_message_iter_init_append(message, &args); + dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &relation); |