public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom spot Callaway <spotaws@amazon.com>
To: git-commits@fedoraproject.org
Subject: [rpms/slurm] epel10: fix dns_test to have proper network byte order on bigendian platforms, hi s390
Date: Wed, 22 Jul 2026 07:55:51 GMT	[thread overview]
Message-ID: <178470695105.1.14161407643060656929.rpms-slurm-5490b5785746@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-07-22  7:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178470695105.1.14161407643060656929.rpms-slurm-5490b5785746@fedoraproject.org \
    --to=spotaws@amazon.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox