SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
19
net/slurm/patches/patch-theme_c
Normal file
19
net/slurm/patches/patch-theme_c
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- theme.c.orig Wed Sep 23 09:44:38 2015
|
||||
+++ theme.c Wed Sep 23 09:45:42 2015
|
||||
@@ -58,14 +58,14 @@ int theme_readfile(theme *t, char *name)
|
||||
/* search for the theme:
|
||||
* - in the local directory
|
||||
* - in ~/.slurm
|
||||
- * - in /usr/local/share/slurm
|
||||
+ * - in ${PREFIX}/share/slurm
|
||||
* (make this /usr/share/slurm for Debian systems by specifing
|
||||
* -D__Debian__)
|
||||
*/
|
||||
search_paths[0] = "."; /* local directory */
|
||||
search_paths[1] = strcat(getenv("HOME"), "/.slurm"); /* $HOME/.slurm/ */
|
||||
search_paths[2] = "/usr/share/slurm"; /* Debian style */
|
||||
- search_paths[3] = "/usr/local/share/slurm"; /* default install path */
|
||||
+ search_paths[3] = "${PREFIX}/share/slurm"; /* default install path */
|
||||
search_paths[4] = "/usr/pkg/share/slurm"; /* NetBSD style */
|
||||
|
||||
for (iter=0; iter <= 4; iter++) {
|
Loading…
Add table
Add a link
Reference in a new issue