ports/sysutils/wmapm/patches/patch-wmgeneral_wmgeneral_h

14 lines
308 B
Text

Fix -fno-common build failure.
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 */