Package: roger-router / 1.8.14-4

libsecret_0.18.6.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Fix FTBFS with libsecred 0.18.6 which introduces a public method with the same name
Author: Mattia Rizzolo <mattia@debian.org>
Bug-Debian: https://bugs.debian.org/897500
Last-Update: 2018-05-24

--- a/libroutermanager/plugins/secret/secret.c
+++ b/libroutermanager/plugins/secret/secret.c
@@ -38,7 +38,7 @@
  * \brief Get secret schema for this plugin
  * \return secret schema layout
  */
-const SecretSchema *secret_get_schema(void)
+const SecretSchema *roger_get_schema(void)
 {
 	static const SecretSchema the_schema = {
 		"org.tabos.roger.Password", SECRET_SCHEMA_NONE,
--- a/libroutermanager/plugins/secret/secret.h
+++ b/libroutermanager/plugins/secret/secret.h
@@ -20,8 +20,8 @@
 #ifndef SECRET_H
 #define SECRET_H
 
-const SecretSchema *secret_get_schema(void) G_GNUC_CONST;
+const SecretSchema *roger_get_schema(void) G_GNUC_CONST;
 
-#define SECRET_SCHEMA  secret_get_schema()
+#define SECRET_SCHEMA  roger_get_schema()
 
 #endif