summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-07-08 21:23:00 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-07-08 21:23:00 +0000
commit26a485eed70dcb9a74dacf33d69a160ed200747d (patch)
tree0d2f14930f19131337590bf32b279a301bc5d796 /media-plugins/vdr-cpumon/files
parentUse setuptools to install so Turbogears apps can require it. (diff)
downloadgentoo-2-26a485eed70dcb9a74dacf33d69a160ed200747d.tar.gz
gentoo-2-26a485eed70dcb9a74dacf33d69a160ed200747d.tar.bz2
gentoo-2-26a485eed70dcb9a74dacf33d69a160ed200747d.zip
Added patch against font problems.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'media-plugins/vdr-cpumon/files')
-rw-r--r--media-plugins/vdr-cpumon/files/digest-vdr-cpumon-0.0.5-r13
-rw-r--r--media-plugins/vdr-cpumon/files/vdr-cpumon-0.0.5-vdr-1.5.diff33
2 files changed, 36 insertions, 0 deletions
diff --git a/media-plugins/vdr-cpumon/files/digest-vdr-cpumon-0.0.5-r1 b/media-plugins/vdr-cpumon/files/digest-vdr-cpumon-0.0.5-r1
new file mode 100644
index 000000000000..5c2b6bb595dd
--- /dev/null
+++ b/media-plugins/vdr-cpumon/files/digest-vdr-cpumon-0.0.5-r1
@@ -0,0 +1,3 @@
+MD5 ddcafa3bb3e633c32813812e4795e490 vdr-cpumon-0.0.5.tgz 17059
+RMD160 bef50ccd2573e027908a1d7573d9ff4c7c6f5d2b vdr-cpumon-0.0.5.tgz 17059
+SHA256 953971ee286ba999b0944571e254e4d1a6b1b25531b57edeb4e9c33996000dfb vdr-cpumon-0.0.5.tgz 17059
diff --git a/media-plugins/vdr-cpumon/files/vdr-cpumon-0.0.5-vdr-1.5.diff b/media-plugins/vdr-cpumon/files/vdr-cpumon-0.0.5-vdr-1.5.diff
new file mode 100644
index 000000000000..88607a0e9083
--- /dev/null
+++ b/media-plugins/vdr-cpumon/files/vdr-cpumon-0.0.5-vdr-1.5.diff
@@ -0,0 +1,33 @@
+Index: cpumon-0.0.5/cpumonosd.c
+===================================================================
+--- cpumon-0.0.5.orig/cpumonosd.c
++++ cpumon-0.0.5/cpumonosd.c
+@@ -72,6 +72,7 @@ cCpuMonOsd::~cCpuMonOsd(void)
+
+ void cCpuMonOsd::Action()
+ {
++ const cFont *font = cFont::GetFont(fontOsd);
+ // reset the osd area
+ osd->DrawRectangle(0, 0, 399, 399, clrTransparent);
+ // draw a plugin title
+@@ -249,6 +250,7 @@ void cCpuMonOsd::drawBoard(void)
+
+ void cCpuMonOsd::drawLegend()
+ {
++ const cFont *font = cFont::GetFont(fontOsd);
+ // draw a small legend
+ osd->DrawRectangle(XBASE - 5, YBASE + 5, XBASE + XLENGTH + 5, YBASE + 125, bgcolor);
+
+Index: cpumon-0.0.5/cpumonosd.h
+===================================================================
+--- cpumon-0.0.5.orig/cpumonosd.h
++++ cpumon-0.0.5/cpumonosd.h
+@@ -10,8 +10,6 @@
+ #include "cpumonfetcher.h"
+ #include "parms.h"
+
+-static const cFont *font = cFont::GetFont(fontOsd);
+-
+ struct fs
+ {
+ int val;