public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fcoe-utils] rawhide: Fix build on aarch64 with kernel 7.3
@ 2026-11-23 18:14 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-11-23 18:14 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fcoe-utils
            Branch : rawhide
            Commit : 6cb953dc4423b331a6943496d30e40b3706017e0
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-11-06T10:14:35-05:00
            Stats  : +19/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/fcoe-utils/c/6cb953dc4423b331a6943496d30e40b3706017e0?branch=rawhide

            Log:
            Fix build on aarch64 with kernel 7.3

https://github.com/openSUSE/fcoe-utils/issues/32

---
diff --git a/0001-include-add-u128-to-linux-types.h.patch b/0001-include-add-u128-to-linux-types.h.patch
new file mode 100644
index 0000000..a24db3a
--- /dev/null
+++ b/0001-include-add-u128-to-linux-types.h.patch
@@ -0,0 +1,14 @@
+diff -up a/include/linux/types.h b/include/linux/types.h
+--- a/include/linux/types.h	2026-02-19 15:05:55.000000000 -0500
++++ b/include/linux/types.h	2026-11-06 10:12:07.725996340 -0500
+@@ -7,6 +7,10 @@
+ 
+ #include <linux/posix_types.h>
+ 
++#ifdef __SIZEOF_INT128__
++typedef __signed__ __int128 __s128 __attribute__((aligned(16)));
++typedef unsigned __int128 __u128 __attribute__((aligned(16)));
++#endif
+ 
+ /*
+  * Below are truly Linux-specific types that should never collide with

diff --git a/fcoe-utils.spec b/fcoe-utils.spec
index 986c53a..81dc257 100644
--- a/fcoe-utils.spec
+++ b/fcoe-utils.spec
@@ -7,11 +7,12 @@
 
 Name:               fcoe-utils
 Version:            1.0.34
-Release:            16.git%{shortcommit0}%{?dist}
+Release:            17.git%{shortcommit0}%{?dist}
 Summary:            Fibre Channel over Ethernet utilities
 License:            GPL-2.0-only
 URL:                http://www.open-fcoe.org
 Source0:            https://github.com/openSUSE/fcoe-utils/archive/%{commit0}.tar.gz#/%{name}-%{version}-%{shortcommit0}.tar.gz
+Patch0:             0001-include-add-u128-to-linux-types.h.patch
 ExcludeArch:        ppc s390
 BuildRequires:      autoconf
 BuildRequires:      automake
@@ -81,6 +82,9 @@ done
 %{_libexecdir}/fcoe/
 
 %changelog
+* Fri Nov 06 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.0.34-17.git5e78a2d
+- Fix build on aarch64 with kernel 7.3
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.34-16.git5e78a2d
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 18:14 [rpms/fcoe-utils] rawhide: Fix build on aarch64 with kernel 7.3 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox