summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmpop3/files/wmpop3-0.5.6a-fno-common.patch')
-rw-r--r--x11-plugins/wmpop3/files/wmpop3-0.5.6a-fno-common.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-plugins/wmpop3/files/wmpop3-0.5.6a-fno-common.patch b/x11-plugins/wmpop3/files/wmpop3-0.5.6a-fno-common.patch
new file mode 100644
index 000000000000..6e6c3e604146
--- /dev/null
+++ b/x11-plugins/wmpop3/files/wmpop3-0.5.6a-fno-common.patch
@@ -0,0 +1,23 @@
+diff -Naur wmpop3-0.5.6a.orig/wmgeneral/wmgeneral.c wmpop3-0.5.6a/wmgeneral/wmgeneral.c
+--- wmpop3-0.5.6a.orig/wmgeneral/wmgeneral.c 1999-08-13 17:56:19.000000000 +0200
++++ wmpop3-0.5.6a/wmgeneral/wmgeneral.c 2020-06-13 11:00:02.036999257 +0200
+@@ -67,6 +67,7 @@
+ GC NormalGC;
+ XpmIcon wmgen;
+ Pixmap pixmask;
++Display *display;
+
+ /*****************/
+ /* Mouse Regions */
+diff -Naur wmpop3-0.5.6a.orig/wmgeneral/wmgeneral.h wmpop3-0.5.6a/wmgeneral/wmgeneral.h
+--- wmpop3-0.5.6a.orig/wmgeneral/wmgeneral.h 1999-08-13 17:56:19.000000000 +0200
++++ wmpop3-0.5.6a/wmgeneral/wmgeneral.h 2020-06-13 10:59:57.263995472 +0200
+@@ -36,7 +36,7 @@
+ /* Global variable */
+ /*******************/
+
+-Display *display;
++extern Display *display;
+
+ /***********************/
+ /* Function Prototypes */