Files
rpi-buildroot/package/android-tools/0012-core-libsparse-sparse_read.c-add-missing-output_file.patch
Thomas Petazzoni 3ee745782a package/android-tools: convert all patches to Git-formatted patches
This will make it easier to modify the patch series moving forward. No
functional changes.

On one patch, we added the SoB from Giulio, which was missing. Giulio
was the original contributor of the patch, and nobody touched it since
it was introduced.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-12-04 22:40:19 +01:00

38 lines
1.1 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 72b9e79c81a237f1839afb4fdee680eafdd180d9 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: Sun, 14 Jul 2024 11:41:56 +0200
Subject: [PATCH] core/libsparse/sparse_read.c: add missing output_file.h
include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
sparse_read.c uses read_all() without including the header file
containing its prototype, causing:
core/libsparse/sparse_read.c:122:31: error: implicit declaration of function read_all [-Wimplicit-function-declaration]
Fix this by including output_file.h.
Upstream: N/A, we're too far from upstream
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
core/libsparse/sparse_read.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/core/libsparse/sparse_read.c b/core/libsparse/sparse_read.c
index 704bcfa..0a8f838 100644
--- a/core/libsparse/sparse_read.c
+++ b/core/libsparse/sparse_read.c
@@ -32,6 +32,7 @@
#include "sparse_crc32.h"
#include "sparse_file.h"
#include "sparse_format.h"
+#include "output_file.h"
#if defined(__APPLE__) && defined(__MACH__)
#define lseek64 lseek
--
2.47.0