summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shakaryan <omp@gentoo.org>2008-03-27 19:54:43 +0000
committerDavid Shakaryan <omp@gentoo.org>2008-03-27 19:54:43 +0000
commit0b7423b98531c753cd43b7619fe7ccaf0525042e (patch)
tree86c54a53c3057aacf7f4b1f48a865afcb03c4ed6 /app-admin/conky/files
parentamd64/x86 stable, bug #214754 (diff)
downloadhistorical-0b7423b98531c753cd43b7619fe7ccaf0525042e.tar.gz
historical-0b7423b98531c753cd43b7619fe7ccaf0525042e.tar.bz2
historical-0b7423b98531c753cd43b7619fe7ccaf0525042e.zip
Version bump per request of Brenden Matthews. (bug #214330)
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-admin/conky/files')
-rw-r--r--app-admin/conky/files/conky-1.5.0-disable-x11.patch22
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 + \