summaryrefslogtreecommitdiff
path: root/x11-clocks/wmcalclock/files/patch-xutils.h
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2020-08-23 16:08:43 +0000
committerHiroki Sato <hrs@FreeBSD.org>2020-08-23 16:08:43 +0000
commit082d51fbce69b3794e89b56af7eb8c648c6fb13c (patch)
treed0c8fde6a07f650947eb09f4c8efb4ba784fb190 /x11-clocks/wmcalclock/files/patch-xutils.h
parentFix build with -fno-common. (diff)
- Fix dependency.
- Fix a build breakage when -fno-common is specified. - Regenerate patch files. - Move the directory creation for DOCSDIR to pre-install.
Notes
Notes: svn path=/head/; revision=545828
Diffstat (limited to 'x11-clocks/wmcalclock/files/patch-xutils.h')
-rw-r--r--x11-clocks/wmcalclock/files/patch-xutils.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-clocks/wmcalclock/files/patch-xutils.h b/x11-clocks/wmcalclock/files/patch-xutils.h
new file mode 100644
index 000000000000..29a7d79dc101
--- /dev/null
+++ b/x11-clocks/wmcalclock/files/patch-xutils.h
@@ -0,0 +1,19 @@
+--- xutils.h.orig 1999-03-27 06:46:38 UTC
++++ xutils.h
+@@ -18,11 +18,11 @@ typedef struct {
+ /*
+ * Global variable
+ */
+-Display *display;
+-Window Root;
+-Window iconwin, win;
+-int screen;
+-int DisplayDepth;
++extern Display *display;
++extern Window Root;
++extern Window iconwin, win;
++extern int screen;
++extern int DisplayDepth;
+
+
+