aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/cdrkit/files/0001-genisoimage-Add-checksum.h-and-md5.h-for-function-pr.patch
blob: b9995772655ab00720ba8cb23669f97e794e3bfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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