public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/slurm] epel10: fix dns_test to have proper network byte order on bigendian platforms, hi s390
@ 2026-07-22 7:55 Tom spot Callaway
0 siblings, 0 replies; only message in thread
From: Tom spot Callaway @ 2026-07-22 7:55 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/slurm
Branch : epel10
Commit : 5490b578574635f2f95877376ceb268bf608922e
Author : Tom spot Callaway <spotaws@amazon.com>
Date : 2026-03-16T14:50:11-04:00
Stats : +16/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/slurm/c/5490b578574635f2f95877376ceb268bf608922e?branch=epel10
Log:
fix dns_test to have proper network byte order on bigendian platforms, hi s390
---
diff --git a/slurm-25.11.4-dns_test-s390-fix.patch b/slurm-25.11.4-dns_test-s390-fix.patch
new file mode 100644
index 0000000..f0b8e48
--- /dev/null
+++ b/slurm-25.11.4-dns_test-s390-fix.patch
@@ -0,0 +1,14 @@
+diff -up slurm-25.11.4/testsuite/slurm_unit/common/dns-test.c.s390 slurm-25.11.4/testsuite/slurm_unit/common/dns-test.c
+--- slurm-25.11.4/testsuite/slurm_unit/common/dns-test.c.s390 2026-03-16 14:46:13.022371627 -0400
++++ slurm-25.11.4/testsuite/slurm_unit/common/dns-test.c 2026-03-16 14:47:00.195078120 -0400
+@@ -123,8 +123,8 @@ START_TEST(test_dns)
+ #ifdef INADDR_DUMMY
+ tip4(INADDR_DUMMY, 40, "192.0.0.8:40");
+ #endif /* INADDR_DUMMY */
+- tip4(0xee10eea1, 44, "161.238.16.238:44");
+- tip4(0xee10eea1, 0, "161.238.16.238");
++ tip4(htonl(0xee10eea1), 44, "161.238.16.238:44");
++ tip4(htonl(0xee10eea1), 0, "161.238.16.238");
+
+ tip6({ { { 0 } } }, 0, "[::]");
+ tip6({ { { 0 } } }, 50, "[::]:50");
diff --git a/slurm.spec b/slurm.spec
index 31210c9..86e0fb9 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -51,6 +51,8 @@ Patch0: slurm_release_version.patch
Patch11: slurm_html_doc_path.patch
Patch12: slurm_perlapi_rpaths.patch
Patch13: slurm-24.05.2-perlapi_vendor_installpath.patch
+# Use htonl to have proper network byte order in dns_test (on big-endian platforms)
+Patch14: slurm-25.11.4-dns_test-s390-fix.patch
BuildRequires: autoconf
BuildRequires: automake
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-22 7:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 7:55 [rpms/slurm] epel10: fix dns_test to have proper network byte order on bigendian platforms, hi s390 Tom spot Callaway
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox