Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libsvg: fix build with gcc 14.x
@ 2025-10-27 19:18 Bernd Kuhls
  2025-12-27 15:44 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2025-10-27 19:18 UTC (permalink / raw)
  To: buildroot; +Cc: Carsten Schoenert

Fixes:
https://autobuild.buildroot.net/results/12e/12e2481afb8acd3149f7ce5692d0f113f2419cd3/

No active upstream was found:
https://lists.freedesktop.org/pipermail/cairo/2010-July/020272.html
https://www.freshports.org/graphics/libsvg/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/libsvg/0003-stdlib.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 package/libsvg/0003-stdlib.patch

diff --git a/package/libsvg/0003-stdlib.patch b/package/libsvg/0003-stdlib.patch
new file mode 100644
index 0000000000..8434d3b4e1
--- /dev/null
+++ b/package/libsvg/0003-stdlib.patch
@@ -0,0 +1,18 @@
+Add stdlib.h include to fix build with gcc 14.x
+
+Upstream: dead
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+
+diff -uNr libsvg-0.1.4.orig/src/svgint.h libsvg-0.1.4/src/svgint.h
+--- libsvg-0.1.4.orig/src/svgint.h	2005-06-03 18:17:59.000000000 +0200
++++ libsvg-0.1.4/src/svgint.h	2025-10-27 19:40:34.231457892 +0100
+@@ -23,6 +23,8 @@
+ #ifndef SVGINT_H
+ #define SVGINT_H
+ 
++#include <stdlib.h>
++
+ #ifdef LIBSVG_EXPAT
+ 
+ #include <expat.h>
-- 
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

end of thread, other threads:[~2025-12-27 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-27 19:18 [Buildroot] [PATCH 1/1] package/libsvg: fix build with gcc 14.x Bernd Kuhls
2025-12-27 15:44 ` 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