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 43 44 45 46 47
|
Description: Fix FTBFS with gcc-10
Bug-Debian: https://bugs.debian.org/957033
---
--- bbrun-1.6.orig/bbrun/bbrun.c
+++ bbrun-1.6/bbrun/bbrun.c
@@ -40,6 +40,8 @@ char historyFilename[MAXPATHLEN + 1];
char* *histTOC; // Always keep track of the beginning, this one is NEVER incremented.
char* *histTOC2; // We increment this one for each item
+extern Display *display;
+
void parseArguments(int, char **);
void execDialogInformation();
void readHistory(void);
--- bbrun-1.6.orig/wmgeneral/wmgeneral.c
+++ bbrun-1.6/wmgeneral/wmgeneral.c
@@ -54,6 +54,12 @@
#include "wmgeneral.h"
+ /*******************/
+ /* Global variable */
+/*******************/
+
+Display *display;
+
/*****************/
/* X11 Variables */
/*****************/
--- bbrun-1.6.orig/wmgeneral/wmgeneral.h
+++ bbrun-1.6/wmgeneral/wmgeneral.h
@@ -32,12 +32,6 @@ typedef struct {
XpmAttributes attributes;
} XpmIcon;
- /*******************/
- /* Global variable */
-/*******************/
-
-Display *display;
-
/***********************/
/* Function Prototypes */
/***********************/
|