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 GCC-10
Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Bug-Debian: https://bugs.debian.org/957012
Forwarded: no
---
--- asmon-0.71.orig/wmgeneral/wmgeneral.c
+++ asmon-0.71/wmgeneral/wmgeneral.c
@@ -50,6 +50,7 @@ Window iconwin, win;
GC NormalGC;
XpmIcon wmgen;
Pixmap pixmask;
+Display *display;
/*****************/
/* Mouse Regions */
--- asmon-0.71.orig/wmgeneral/wmgeneral.h
+++ asmon-0.71/wmgeneral/wmgeneral.h
@@ -28,7 +28,7 @@ typedef struct {
/* Global variable */
/*******************/
-Display *display;
+extern Display *display;
/***********************/
/* Function Prototypes */
|