mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/cdrkit: fix build with gcc 14.x
This commit adds a patch, which is already in Debian, fixing the build
with gcc 14.x:
/home/autobuild/autobuild/instance-7/output-1/build/host-cdrkit-1.1.11/genisoimage/genisoimage.c:1509:17: error: implicit declaration of function 'parse_checksum_algo' [-Wimplicit-function-declaration]
1509 | if (parse_checksum_algo(optarg, &checksum_algo_iso))
| ^~~~~~~~~~~~~~~~~~~
make[3]: *** [genisoimage/CMakeFiles/genisoimage.dir/build.make:76: genisoimage/CMakeFiles/genisoimage.dir/genisoimage.o] Error 1
Fixes:
http://autobuild.buildroot.net/results/a9cca8da22774ecafdbb382697aae71f78e348f4/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 0a0de4d86c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
849306c66d
commit
8b4a5da997
48
package/cdrkit/0004-Add-missing-header-includes.patch
Normal file
48
package/cdrkit/0004-Add-missing-header-includes.patch
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
From 8b7852149c45c8a837a9f5124e91812dd475a270 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Andrey Rakhmatullin <wrar@debian.org>
|
||||||
|
Date: Sat, 13 Jul 2024 11:37:07 +0200
|
||||||
|
Subject: [PATCH] Add missing header includes
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Bug-Debian: https://bugs.debian.org/1066264
|
||||||
|
|
||||||
|
Fixes:
|
||||||
|
|
||||||
|
genisoimage/genisoimage.c:1509:17: error: implicit declaration of function ‘parse_checksum_algo’ [-Wimplicit-function-declaration]
|
||||||
|
|
||||||
|
Upstream: https://sources.debian.org/patches/cdrkit/9:1.1.11-3.5/fix-implicit-function-declaration.patch/
|
||||||
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||||
|
---
|
||||||
|
genisoimage/genisoimage.c | 1 +
|
||||||
|
genisoimage/jte.c | 1 +
|
||||||
|
2 files changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/genisoimage/genisoimage.c b/genisoimage/genisoimage.c
|
||||||
|
index 46f0cb7..fa2f8bd 100644
|
||||||
|
--- a/genisoimage/genisoimage.c
|
||||||
|
+++ b/genisoimage/genisoimage.c
|
||||||
|
@@ -53,6 +53,7 @@
|
||||||
|
#include <ctype.h>
|
||||||
|
#include "match.h"
|
||||||
|
#include "exclude.h"
|
||||||
|
+#include "checksum.h"
|
||||||
|
#include <unls.h> /* For UNICODE translation */
|
||||||
|
#include <schily.h>
|
||||||
|
#ifdef UDF
|
||||||
|
diff --git a/genisoimage/jte.c b/genisoimage/jte.c
|
||||||
|
index 0dff289..4c4d986 100644
|
||||||
|
--- a/genisoimage/jte.c
|
||||||
|
+++ b/genisoimage/jte.c
|
||||||
|
@@ -27,6 +27,7 @@
|
||||||
|
#include "ifo_read.h"
|
||||||
|
#include "endianconv.h"
|
||||||
|
#include "checksum.h"
|
||||||
|
+#include "md5.h"
|
||||||
|
#endif
|
||||||
|
#ifdef APPLE_HYB
|
||||||
|
#include <ctype.h>
|
||||||
|
--
|
||||||
|
2.45.2
|
||||||
|
|
||||||
Reference in New Issue
Block a user