From 93e42fe55067ff7594cb44e7f1beb28277581701 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 12 Sep 2004 13:38:20 +0000 Subject: [PATCH] Clifford Wolf: Fixed gkrellm-plugins build [2004090713472019387] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4189 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/daniel/gkrellm-plugins/gkrellm-plugins.conf | 1 + package/daniel/gkrellm-plugins/gkrellmms_hotfix.diff | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 package/daniel/gkrellm-plugins/gkrellmms_hotfix.diff diff --git a/package/daniel/gkrellm-plugins/gkrellm-plugins.conf b/package/daniel/gkrellm-plugins/gkrellm-plugins.conf index 03c025b42..2a40275e6 100644 --- a/package/daniel/gkrellm-plugins/gkrellm-plugins.conf +++ b/package/daniel/gkrellm-plugins/gkrellm-plugins.conf @@ -51,6 +51,7 @@ main() { cd .. cd gkrellmms + patch -p1 < $confdir/gkrellmms_hotfix.diff make CFLAGS=-I/$root/$prefix/include mv gkrellmms.so /$root/$prefix/lib/gkrellm/plugins cd .. diff --git a/package/daniel/gkrellm-plugins/gkrellmms_hotfix.diff b/package/daniel/gkrellm-plugins/gkrellmms_hotfix.diff new file mode 100644 index 000000000..31d6f5477 --- /dev/null +++ b/package/daniel/gkrellm-plugins/gkrellmms_hotfix.diff @@ -0,0 +1,11 @@ +--- ./gkrellmms.c.orig 2004-09-07 13:42:50.228933752 +0200 ++++ ./gkrellmms.c 2004-09-07 13:45:13.870096976 +0200 +@@ -672,7 +672,7 @@ + y = y * gkrellm_get_theme_scale(); + #endif + if (text) +- y -= decal->y_baseline; ++ y -= decal->y_ink; + gkrellm_move_decal(control_panel, decal, x, y); + } + }