summaryrefslogtreecommitdiff
path: root/sysutils/slurm-wlm/files
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-08-25 03:20:23 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-08-25 03:20:23 +0000
commitec57a2ae6171387bec0d7d4bcc87dd37f194de47 (patch)
treedb1c5e6077399d759793a0396eb391138b1cbfe2 /sysutils/slurm-wlm/files
parent- Update to 0.8.12 (diff)
sysutils/slurm-wlm: 15.06.12 -> 16.05.4 and fix build hangs
PR: 210648 Changes: https://github.com/SchedMD/slurm/blob/master/NEWS Reported by: w.schwarzenfeld@utanet.at Submitted by: Joseph Mingrone <jrm@ftfl.ca> (maintainer)
Notes
Notes: svn path=/head/; revision=420833
Diffstat (limited to 'sysutils/slurm-wlm/files')
-rw-r--r--sysutils/slurm-wlm/files/patch-doc_man_man2html.py11
-rw-r--r--sysutils/slurm-wlm/files/patch-src_plugins_node__features_knl__cray_node__features__knl__cray.c15
2 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/slurm-wlm/files/patch-doc_man_man2html.py b/sysutils/slurm-wlm/files/patch-doc_man_man2html.py
new file mode 100644
index 000000000000..9e5da7e2cc01
--- /dev/null
+++ b/sysutils/slurm-wlm/files/patch-doc_man_man2html.py
@@ -0,0 +1,11 @@
+--- doc/man/man2html.py.orig 2016-08-24 23:46:50 UTC
++++ doc/man/man2html.py
+@@ -180,7 +180,7 @@ version = sys.argv[1]
+ for f in sys.argv[4:]:
+ posLastDot = f.rfind(".")
+ mhtmlname = f[:posLastDot] + ".mhtml"
+- cmd = "man2html " + f + "> " + mhtmlname
++ cmd = "man2html < " + f + "> " + mhtmlname
+ os.system(cmd)
+ print(">>>>>>> " + mhtmlname)
+ files.append(mhtmlname)
diff --git a/sysutils/slurm-wlm/files/patch-src_plugins_node__features_knl__cray_node__features__knl__cray.c b/sysutils/slurm-wlm/files/patch-src_plugins_node__features_knl__cray_node__features__knl__cray.c
new file mode 100644
index 000000000000..1c65c289e982
--- /dev/null
+++ b/sysutils/slurm-wlm/files/patch-src_plugins_node__features_knl__cray_node__features__knl__cray.c
@@ -0,0 +1,15 @@
+--- src/plugins/node_features/knl_cray/node_features_knl_cray.c.orig 2016-08-24 19:28:33 UTC
++++ src/plugins/node_features/knl_cray/node_features_knl_cray.c
+@@ -39,6 +39,12 @@
+ #endif
+
+ #define _GNU_SOURCE /* For POLLRDHUP */
++
++#if defined (__FreeBSD__)
++# define POLLRDHUP POLLHUP
++# include <signal.h>
++#endif
++
+ #include <ctype.h>
+ #include <poll.h>
+ #include <signal.h>