summaryrefslogtreecommitdiff
path: root/app-admin/conky/files/conky-1.10.6-fix-text-shades.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/conky/files/conky-1.10.6-fix-text-shades.patch')
-rw-r--r--app-admin/conky/files/conky-1.10.6-fix-text-shades.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-admin/conky/files/conky-1.10.6-fix-text-shades.patch b/app-admin/conky/files/conky-1.10.6-fix-text-shades.patch
new file mode 100644
index 000000000000..70b0c52d2a14
--- /dev/null
+++ b/app-admin/conky/files/conky-1.10.6-fix-text-shades.patch
@@ -0,0 +1,12 @@
+--- a/src/conky.cc 2017-02-21 18:00:40.157275779 -0800
++++ b/src/conky.cc 2017-02-21 18:05:16.137077877 -0800
+@@ -1930,7 +1930,9 @@
+
+ static void draw_stuff(void)
+ {
++#ifndef BUILD_X11
+ static int text_offset_x, text_offset_y; /* offset for start position */
++#endif
+ text_offset_x = text_offset_y = 0;
+ #ifdef BUILD_IMLIB2
+ cimlib_render(text_start_x, text_start_y, window.width, window.height);