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

            A new commit has been pushed.

            Repo   : rpms/lldpd
            Branch : rawhide
            Commit : b7ac9c5f16bf52e758d2894471a6a493d7d66679
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-10-14T10:56:47-04:00
            Stats  : +31/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/lldpd/c/b7ac9c5f16bf52e758d2894471a6a493d7d66679?branch=rawhide

            Log:
            Fix build on aarch64

https://github.com/lldpd/lldpd/pull/805

---
diff --git a/0001-include-add-us-128-to-linux-types.h.patch b/0001-include-add-us-128-to-linux-types.h.patch
new file mode 100644
index 0000000..0709548
--- /dev/null
+++ b/0001-include-add-us-128-to-linux-types.h.patch
@@ -0,0 +1,28 @@
+From 95ee70d0b87dc81430f7b0891f08e5e232012c57 Mon Sep 17 00:00:00 2001
+From: Yaakov Selkowitz <yselkowi@redhat.com>
+Date: Wed, 14 Oct 2026 10:19:30 -0400
+Subject: [PATCH] include: add [us]128 to linux/types.h
+
+This corresponds to kernel commit 224d80c584d3016cb8d83d1c33914fdd3508aa8c.
+---
+ include/linux/types.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/include/linux/types.h b/include/linux/types.h
+index 999cb0f..b001eef 100644
+--- a/include/linux/types.h
++++ b/include/linux/types.h
+@@ -8,6 +8,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
+-- 
+2.56.0
+

diff --git a/lldpd.spec b/lldpd.spec
index fd18bba..5d92e08 100644
--- a/lldpd.spec
+++ b/lldpd.spec
@@ -11,6 +11,9 @@ Source2:  %{name}-tmpfiles
 Source3:  %{name}-fedora.sysconfig
 Source4:  %{name}-systemd-sysusers.conf
 
+# https://github.com/lldpd/lldpd/pull/805
+Patch0:   0001-include-add-us-128-to-linux-types.h.patch
+
 BuildRequires: autoconf automake libtool
 BuildRequires: check-devel
 BuildRequires: gcc

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

only message in thread, other threads:[~2026-10-14 14:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 14:58 [rpms/lldpd] rawhide: Fix build on aarch64 Yaakov Selkowitz

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