ports/sysutils/wmmon/patches/patch-wmgeneral_wmgeneral_h

14 lines
297 B
Text

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