diff options
Diffstat (limited to 'net-analyzer/slurm/files/slurm-0.3.3-theme.patch')
-rw-r--r-- | net-analyzer/slurm/files/slurm-0.3.3-theme.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-analyzer/slurm/files/slurm-0.3.3-theme.patch b/net-analyzer/slurm/files/slurm-0.3.3-theme.patch new file mode 100644 index 000000000000..131554ee57f7 --- /dev/null +++ b/net-analyzer/slurm/files/slurm-0.3.3-theme.patch @@ -0,0 +1,16 @@ +--- a/theme.c ++++ b/theme.c +@@ -70,13 +70,7 @@ + if ((f = fopen(filename, "r")) == NULL) + { + bzero(&filename, BUFSIZ); +-#ifdef __NetBSD__ +- snprintf(filename, BUFSIZ, "/usr/pkg/share/slurm/%s.theme", name); +-#elif __Debian__ + snprintf(filename, BUFSIZ, "/usr/share/slurm/%s.theme", name); +-#else +- snprintf(filename, BUFSIZ, "/usr/local/share/slurm/%s.theme", name); +-#endif + if ((f = fopen(filename, "r")) == NULL) + error(ERR_FATAL, "cannot find theme '%s'", name); + } |