diff options
Diffstat (limited to 'app-admin/conky/files')
-rw-r--r-- | app-admin/conky/files/conky-1.5.0-disable-x11.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-admin/conky/files/conky-1.5.0-disable-x11.patch b/app-admin/conky/files/conky-1.5.0-disable-x11.patch new file mode 100644 index 000000000000..10fafc90d9cb --- /dev/null +++ b/app-admin/conky/files/conky-1.5.0-disable-x11.patch @@ -0,0 +1,22 @@ +Index: src/conky.c +=================================================================== +--- src/conky.c (revision 1040) ++++ src/conky.c (revision 1041) +@@ -127,6 +127,8 @@ + exit(0); + } + ++static char *suffixes[] = { "B", "kiB", "MiB", "GiB", "TiB", "PiB", "" }; ++ + #ifdef X11 + + /* text size */ +@@ -164,8 +166,6 @@ + static int font_count = -1; + struct font_list *fonts = NULL; + +-static char *suffixes[] = { "B", "kiB", "MiB", "GiB", "TiB", "PiB", "" }; +- + #ifdef XFT + + #define font_height() (use_xft ? (fonts[selected_font].xftfont->ascent + \ |