File: fix_ftbfs.patch

package info (click to toggle)
gnomekiss 2.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,764 kB
  • sloc: ansic: 4,480; sh: 1,006; makefile: 55; xml: 52
file content (42 lines) | stat: -rw-r--r-- 1,069 bytes parent folder | download | duplicates (3)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: Fix ftbfs with GCC-10

Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Bug-Debian: https://bugs.debian.org/957286
Forwarded: no

---

--- gnomekiss-2.0.orig/src/callbacks.c
+++ gnomekiss-2.0/src/callbacks.c
@@ -33,6 +33,7 @@ static int x1, y1, dragged;
 static int ox, oy;
 
 int mouse_x, mouse_y;
+GtkListStore *error_store;
 
 void
 on_exit_activate                      (GtkMenuItem     *menuitem,
--- gnomekiss-2.0.orig/src/interface.c
+++ gnomekiss-2.0/src/interface.c
@@ -26,7 +26,7 @@
 #define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
   g_object_set_data (G_OBJECT (component), name, widget)
 
-extern GSettings *settings;
+GSettings *settings;
 
 GtkWidget*
 create_application (void)
--- gnomekiss-2.0.orig/src/kiss.h
+++ gnomekiss-2.0/src/kiss.h
@@ -26,8 +26,8 @@ extern GtkWidget *about, *error_list;
 extern GtkWidget *buttons[SETS], *items[SETS];
 
 static gboolean clear_area = FALSE;
-GSettings *settings;
-GtkListStore *error_store;
+extern GSettings *settings;
+extern GtkListStore *error_store;
 
 enum {
   FILE_COLUMN,