File gkrellm-lib64-plugins-dir.patch of Package gkrellm

Index: src/gkrellm.h
===================================================================
--- src/gkrellm.h.orig	2010-10-02 18:21:01.000000000 +0200
+++ src/gkrellm.h	2013-11-14 13:33:55.325216840 +0100
@@ -141,6 +141,9 @@
 #if !defined(SYSTEM_PLUGINS_DIR)
 #define	SYSTEM_PLUGINS_DIR		"/usr/lib/gkrellm2/plugins"
 #endif
+#if !defined(SYSTEM64_PLUGINS_DIR)
+#define	SYSTEM64_PLUGINS_DIR		"/usr/lib64/gkrellm2/plugins"
+#endif
 
 #else
 
Index: src/plugins.c
===================================================================
--- src/plugins.c.orig	2010-09-14 18:25:51.000000000 +0200
+++ src/plugins.c	2013-11-14 13:34:34.349703021 +0100
@@ -1293,6 +1293,10 @@
 #if defined(SYSTEM_PLUGINS_DIR)
 	scan_for_plugins(SYSTEM_PLUGINS_DIR);
 #endif
+
+#if defined(SYSTEM64_PLUGINS_DIR)
+	scan_for_plugins(SYSTEM64_PLUGINS_DIR);
+#endif
 	}
 
 #if 0
openSUSE Build Service is sponsored by