ports/x11/wminfo/patches/patch-wmgeneral_wmgeneral_h

14 lines
304 B
Text

Fix build with -fno-common
Index: wmgeneral/wmgeneral.h
--- wmgeneral/wmgeneral.h.orig
+++ wmgeneral/wmgeneral.h
@@ -36,7 +36,7 @@ typedef struct {
/* Global variable */
/*******************/
-Display *display;
+extern Display *display;
/***********************/
/* Function Prototypes */