cdrkit: Add missing header for function prototypes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-09-03 00:52:04 -07:00
parent d8e4451e47
commit fcdeff5b23
2 changed files with 45 additions and 0 deletions

View File

@ -12,6 +12,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
file://0002-Do-not-use-rcmd-on-build-with-musl.patch \
file://0001-genisoimage-Add-missing-extern-definition.patch \
file://0001-add-new-option-eltorito-platform.patch \
file://0001-genisoimage-Add-checksum.h-and-md5.h-for-function-pr.patch \
"
SRC_URI:append:class-nativesdk = " \
file://0001-install-netscsid-to-bin-for-nativesdk.patch \

View File

@ -0,0 +1,44 @@
From f28b8ec20c3485068f1617ff93b497bafe5264e1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 3 Sep 2022 00:50:17 -0700
Subject: [PATCH] genisoimage: Add checksum.h and md5.h for function prototypes
Needed for parse_checksum_algo and calculate_md5sum
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
genisoimage/genisoimage.c | 2 ++
genisoimage/jte.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/genisoimage/genisoimage.c b/genisoimage/genisoimage.c
index 84ac3c2..5c9f7f3 100644
--- a/genisoimage/genisoimage.c
+++ b/genisoimage/genisoimage.c
@@ -59,6 +59,8 @@
#include "udf.h"
#endif
+#include "checksum.h"
+
#ifdef NEED_O_BINARY
#include <io.h> /* for setmode() prototype */
#endif
diff --git a/genisoimage/jte.c b/genisoimage/jte.c
index 0dff289..1f03ad3 100644
--- a/genisoimage/jte.c
+++ b/genisoimage/jte.c
@@ -36,6 +36,8 @@
#include "vms.h"
#endif
+#include "md5.h"
+
/* Different types used in building our state list below */
#define JTET_FILE_MATCH 1
#define JTET_NOMATCH 2
--
2.37.3