pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add patches for NetBSD
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By: outpaddling
Date: Sat May 14 14:01:00 2016 -0500
Changeset: be9741a334bc425f11d6131797961ab0f951bce0
Modified Files:
slurm/distinfo
Added Files:
slurm/patches/patch-src_common_callerid.c
slurm/patches/patch-src_plugins_burst__buffer_common_burst__buffer__common.c
slurm/patches/patch-src_plugins_power_common_power__common.c
Log Message:
Add patches for NetBSD
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=be9741a334bc425f11d6131797961ab0f951bce0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
slurm/distinfo | 4 ++++
slurm/patches/patch-src_common_callerid.c | 17 +++++++++++++++++
...plugins_burst__buffer_common_burst__buffer__common.c | 13 +++++++++++++
.../patch-src_plugins_power_common_power__common.c | 13 +++++++++++++
4 files changed, 47 insertions(+)
diffs:
diff --git a/slurm/distinfo b/slurm/distinfo
index 179feba..f215a04 100644
--- a/slurm/distinfo
+++ b/slurm/distinfo
@@ -5,5 +5,9 @@ RMD160 (slurm-15.08.11.tar.bz2) = 73100156c355ac2a05a70efcf00b949276438b77
SHA512 (slurm-15.08.11.tar.bz2) = f152893fc1c8f54120d886c81d1651545c79cc67606608b871d2c5a7e6c396deb59a7573a61e2a73fd9b9742e3ac5d53ab4db69b8b1e6a533a26b02e5e733b33
Size (slurm-15.08.11.tar.bz2) = 5870156 bytes
SHA1 (patch-etc_init.d.slurm.in) = f29d2c603b8d62df80aec4ac77f2e9bc218f55fc
+SHA1 (patch-src_common_callerid.c) = 1c0bac29ec2e0e6974e4d5f0369c9b500e692480
+SHA1 (patch-src_common_gres.c) = 632979b027e7a4ceeec846e90ac177f87a2951e7
+SHA1 (patch-src_plugins_burst__buffer_common_burst__buffer__common.c) = 5effe55495c8071f0e8a693c5eb7e1274d2eff85
+SHA1 (patch-src_plugins_power_common_power__common.c) = f766709263fc1738f0ecd9e2316556a4ffe7a43e
SHA1 (patch-src_plugins_switch_generic_switch__generic.c) = b91f4cbb253a1c93c83edc8e5f0d2b4606f96735
SHA1 (patch-src_slurmd_slurmstepd_task.c) = 9d0a2384655301c0f00e2c291a767d9f4f4d0102
diff --git a/slurm/patches/patch-src_common_callerid.c b/slurm/patches/patch-src_common_callerid.c
new file mode 100644
index 0000000..31299ce
--- /dev/null
+++ b/slurm/patches/patch-src_common_callerid.c
@@ -0,0 +1,17 @@
+$NetBSD$
+
+--- src/common/callerid.c.orig 2016-05-03 22:41:59.000000000 +0000
++++ src/common/callerid.c
+@@ -61,6 +61,12 @@
+ #define s6_addr32 __u6_addr.__u6_addr32
+ #endif
+
++#ifdef __NetBSD__
++#define s6_addr8 __u6_addr.__u6_addr8
++#define s6_addr16 __u6_addr.__u6_addr16
++#define s6_addr32 __u6_addr.__u6_addr32
++#endif
++
+ #if HAVE_DIRENT_H
+ # include <dirent.h>
+ #endif
diff --git a/slurm/patches/patch-src_plugins_burst__buffer_common_burst__buffer__common.c b/slurm/patches/patch-src_plugins_burst__buffer_common_burst__buffer__common.c
new file mode 100644
index 0000000..6d67297
--- /dev/null
+++ b/slurm/patches/patch-src_plugins_burst__buffer_common_burst__buffer__common.c
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/plugins/burst_buffer/common/burst_buffer_common.c.orig 2016-05-14 18:55:22.000000000 +0000
++++ src/plugins/burst_buffer/common/burst_buffer_common.c
+@@ -52,7 +52,7 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #define POLLRDHUP POLLHUP
+ #include <signal.h>
+ #endif
diff --git a/slurm/patches/patch-src_plugins_power_common_power__common.c b/slurm/patches/patch-src_plugins_power_common_power__common.c
new file mode 100644
index 0000000..373d586
--- /dev/null
+++ b/slurm/patches/patch-src_plugins_power_common_power__common.c
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- ./src/plugins/power/common/power_common.c.orig 2016-05-03 22:35:12.000000000 +0000
++++ ./src/plugins/power/common/power_common.c
+@@ -50,7 +50,7 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #define POLLRDHUP POLLHUP
+ #include <signal.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index