[mate-power-manager] 01/04: debian/patches: Add 0001_do_not_abort_on_unknown_DBus_signal_name.patch. (LP: #1707300)
Mike Gabriel
sunweaver at debian.org
Fri Nov 3 08:43:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to annotated tag debian/1.16.2-1+deb9u1
in repository mate-power-manager.
commit e32e9d0386fc741996ee78a548562af8b887802d
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date: Thu Aug 17 00:23:41 2017 +0100
debian/patches: Add 0001_do_not_abort_on_unknown_DBus_signal_name.patch. (LP: #1707300)
---
.../0001_do_not_abort_on_unknown_DBus_signal_name.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/0001_do_not_abort_on_unknown_DBus_signal_name.patch b/debian/patches/0001_do_not_abort_on_unknown_DBus_signal_name.patch
new file mode 100644
index 0000000..9461c33
--- /dev/null
+++ b/debian/patches/0001_do_not_abort_on_unknown_DBus_signal_name.patch
@@ -0,0 +1,16 @@
+Author: Vlad Orlov <monsta at inbox.ru>
+Description: Don't abort on unknown DBus signal name, it's external data, so it's not clever to have an assert on it
+
+diff --git a/src/gpm-kbd-backlight.c b/src/gpm-kbd-backlight.c
+index ae8e0fa..c646855 100644
+--- a/src/gpm-kbd-backlight.c
++++ b/src/gpm-kbd-backlight.c
+@@ -326,7 +326,7 @@ gpm_kbd_backlight_on_dbus_signal (GDBusProxy *proxy,
+ return;
+ }
+
+- g_assert_not_reached ();
++ g_debug ("signal '%s' not handled!", signal_name);
+ }
+
+ /**
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..db4d87e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001_do_not_abort_on_unknown_DBus_signal_name.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-power-manager.git
More information about the pkg-mate-commits
mailing list