summaryrefslogtreecommitdiff
path: root/sysutils/slurm-wlm/files
diff options
context:
space:
mode:
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>