ports/misc/wmjulia/files/patch-wmgeneral_wmgeneral.h
Fernando Apesteguía 862a3a9022 misc/wmjulia fix 13-Current build
Another instance of -fno-common issue.

While here:

 * Add missig USE_XORG dependency
 * Reorganize WRKSRC so we don't generate weird patches
 * Pet linters

PR:	249462
Submitted by:	jd.fbsd@goneja.de
MFH:	2020Q3 (build fix, -fno-common)
2020-09-23 12:10:46 +00:00

15 lines
393 B
C

--- wmgeneral/wmgeneral.h.orig 2020-09-23 12:34:16 UTC
+++ wmgeneral/wmgeneral.h
@@ -36,9 +36,9 @@ typedef struct {
/* Global variable */
/*******************/
-Display *display;
-Window Root, iconwin, win;
-XpmIcon wmgen;
+extern Display *display;
+extern Window Root, iconwin, win;
+extern XpmIcon wmgen;
/***********************/
/* Function Prototypes */