summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-09-04 23:01:42 +0200
committerGuido Günther <agx@sigxcpu.org>2014-09-04 23:31:27 +0200
commitb7c7eeb2223a026fcce714bae5395c23708b9e42 (patch)
tree2ce88894f31cabae87982b76254109d7ddb9f445
parent5b8a7cff721f3eecaaff86a57f73b15dcd60b231 (diff)
Disable gnome keyring deprecation warnings
-rw-r--r--debian/patches/0001-Disabe-gnome-keyring-deprecation-warnings.patch23
-rw-r--r--debian/patches/series1
2 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/0001-Disabe-gnome-keyring-deprecation-warnings.patch b/debian/patches/0001-Disabe-gnome-keyring-deprecation-warnings.patch
new file mode 100644
index 0000000..e2aa688
--- /dev/null
+++ b/debian/patches/0001-Disabe-gnome-keyring-deprecation-warnings.patch
@@ -0,0 +1,23 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
+Date: Thu, 4 Sep 2014 23:01:01 +0200
+Subject: Disabe gnome keyring deprecation warnings
+
+until libsecret declares a stable API
+---
+ auth-dialog/main.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/auth-dialog/main.c b/auth-dialog/main.c
+index 03586e4..aa20f53 100644
+--- a/auth-dialog/main.c
++++ b/auth-dialog/main.c
+@@ -31,6 +31,9 @@
+ #include <glib/gi18n.h>
+ #include <gtk/gtk.h>
+
++/* Fix build with gnome 3.12 until libsecret declares a stable API */
++#define GNOME_KEYRING_DEPRECATED
++#define GNOME_KEYRING_DEPRECATED_FOR(x)
+ #include <gnome-keyring.h>
+ #include <gnome-keyring-memory.h>
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4f55405
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Disabe-gnome-keyring-deprecation-warnings.patch