Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/open-lldp: bump version to 1.1.1
@ 2025-12-08 18:32 Bernd Kuhls
  2025-12-14 16:49 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2025-12-08 18:32 UTC (permalink / raw)
  To: buildroot; +Cc: Laurent Charpentier

Added upstream patch to fix build with gcc 14.x.

Fixes:
https://autobuild.buildroot.net/results/0f8/0f88cbe9152ab816b4ae17e1d84e8257f458eb4a/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 ...string.h-for-mem-function-prototypes.patch | 26 +++++++++++++++++++
 package/open-lldp/open-lldp.hash              |  2 +-
 package/open-lldp/open-lldp.mk                |  2 +-
 3 files changed, 28 insertions(+), 2 deletions(-)
 create mode 100644 package/open-lldp/0001-clif-Include-string.h-for-mem-function-prototypes.patch

diff --git a/package/open-lldp/0001-clif-Include-string.h-for-mem-function-prototypes.patch b/package/open-lldp/0001-clif-Include-string.h-for-mem-function-prototypes.patch
new file mode 100644
index 0000000000..de67131c58
--- /dev/null
+++ b/package/open-lldp/0001-clif-Include-string.h-for-mem-function-prototypes.patch
@@ -0,0 +1,26 @@
+From f9d0099ac7d9041447cce4d3edd9577b4b52c09c Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 29 Aug 2022 22:37:14 -0700
+Subject: [PATCH] clif: Include string.h for mem* function prototypes
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Upstream: https://github.com/intel/openlldp/commit/f9d0099ac7d9041447cce4d3edd9577b4b52c09c
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ clif.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/clif.c b/clif.c
+index cad6f75..0758a7e 100644
+--- a/clif.c
++++ b/clif.c
+@@ -32,6 +32,7 @@
+ 
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
diff --git a/package/open-lldp/open-lldp.hash b/package/open-lldp/open-lldp.hash
index 1fbd8dd0ca..8bbba470aa 100644
--- a/package/open-lldp/open-lldp.hash
+++ b/package/open-lldp/open-lldp.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  13e0890527192a6289e6dac82056c447a1e2624ff93b0b6bbd8a42d15b2cbc8c  open-lldp-1.1.tar.gz
+sha256  2faa9db57f8426db9f394bd2bab87237a350ae43437b16faf6569250cda25a69  open-lldp-1.1.1.tar.gz
 sha256  67af5abeb092213cd9c53781503320f635ba28b641e0c3f24d367e8e93a9839b  COPYING
diff --git a/package/open-lldp/open-lldp.mk b/package/open-lldp/open-lldp.mk
index d42dbcc5c3..0b84b6773e 100644
--- a/package/open-lldp/open-lldp.mk
+++ b/package/open-lldp/open-lldp.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-OPEN_LLDP_VERSION = 1.1
+OPEN_LLDP_VERSION = 1.1.1
 OPEN_LLDP_SITE = $(call github,intel,openlldp,v$(OPEN_LLDP_VERSION))
 OPEN_LLDP_DEPENDENCIES = readline libnl libconfig host-pkgconf
 OPEN_LLDP_LICENSE = GPL-2.0
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/open-lldp: bump version to 1.1.1
  2025-12-08 18:32 [Buildroot] [PATCH 1/1] package/open-lldp: bump version to 1.1.1 Bernd Kuhls
@ 2025-12-14 16:49 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-12-14 16:49 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Laurent Charpentier

Hello Bernd,

On Mon,  8 Dec 2025 19:32:41 +0100
Bernd Kuhls <bernd@kuhls.net> wrote:

> Added upstream patch to fix build with gcc 14.x.
> 
> Fixes:
> https://autobuild.buildroot.net/results/0f8/0f88cbe9152ab816b4ae17e1d84e8257f458eb4a/

From my testing open-lldp builds just fine with gcc 14.x, and the
problem seems to be specific to building with musl (perhaps since gcc
14.x).

Also, your commit should split the fix (backporting the patch) from the
version bump, since they are independent.

This way, we can backport the fix to LTS, and take the bump only in
master.

Thanks a lot,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-14 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-08 18:32 [Buildroot] [PATCH 1/1] package/open-lldp: bump version to 1.1.1 Bernd Kuhls
2025-12-14 16:49 ` Thomas Petazzoni via buildroot

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