Files
gkrellm/gkrellm-lib64-plugins-dir.patch
Petr Gajdos 10e55c2bba - Apply d26f500ce30592313051e5c2f96b90cfd285791b.patch with minor
adjustments
- Add temporary build hack to build without switching to meson
  implies systemd dependency is always on now
- Remove build conditionals for suse_version > 12.2
- Refresh gkrellm-lib64-plugins-dir.patch

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/gkrellm?expand=0&rev=32
2026-01-05 10:51:29 +00:00

30 lines
742 B
Diff

Index: b/src/gkrellm.h
===================================================================
--- a/src/gkrellm.h
+++ b/src/gkrellm.h
@@ -119,6 +119,9 @@ G_BEGIN_DECLS
#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: b/src/plugins.c
===================================================================
--- a/src/plugins.c
+++ b/src/plugins.c
@@ -1267,6 +1267,10 @@ gkrellm_plugins_load(void)
#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