diff options
Diffstat (limited to 'x11-plugins/wmrecord/files/wmrecord-1.0.5.3-fno-common.patch')
-rw-r--r-- | x11-plugins/wmrecord/files/wmrecord-1.0.5.3-fno-common.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-plugins/wmrecord/files/wmrecord-1.0.5.3-fno-common.patch b/x11-plugins/wmrecord/files/wmrecord-1.0.5.3-fno-common.patch new file mode 100644 index 000000000000..a70b5f87b0ee --- /dev/null +++ b/x11-plugins/wmrecord/files/wmrecord-1.0.5.3-fno-common.patch @@ -0,0 +1,29 @@ +diff -Naur wmrecord-1.0.5.orig/wmgeneral/wmgeneral.c wmrecord-1.0.5/wmgeneral/wmgeneral.c +--- wmrecord-1.0.5.orig/wmgeneral/wmgeneral.c 1999-07-05 20:40:04.000000000 +0200 ++++ wmrecord-1.0.5/wmgeneral/wmgeneral.c 2020-06-13 10:57:57.237900077 +0200 +@@ -66,6 +66,9 @@ + char *Geometry = ""; + GC NormalGC; + Pixmap pixmask; ++Display *display; ++Window Root, iconwin, win; ++XpmIcon wmgen; + + /*****************/ + /* Mouse Regions */ +diff -Naur wmrecord-1.0.5.orig/wmgeneral/wmgeneral.h wmrecord-1.0.5/wmgeneral/wmgeneral.h +--- wmrecord-1.0.5.orig/wmgeneral/wmgeneral.h 1999-06-01 15:46:55.000000000 +0200 ++++ wmrecord-1.0.5/wmgeneral/wmgeneral.h 2020-06-13 10:57:51.055895156 +0200 +@@ -36,9 +36,9 @@ + /* Global variable */ + /*******************/ + +-Display *display; +-Window Root, iconwin, win; +-XpmIcon wmgen; ++extern Display *display; ++extern Window Root, iconwin, win; ++extern XpmIcon wmgen; + + /***********************/ + /* Function Prototypes */ |