From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/libstaroffice/fix-maybe-uninitialized.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 repo/libstaroffice/fix-maybe-uninitialized.patch (limited to 'repo/libstaroffice/fix-maybe-uninitialized.patch') diff --git a/repo/libstaroffice/fix-maybe-uninitialized.patch b/repo/libstaroffice/fix-maybe-uninitialized.patch new file mode 100644 index 0000000..b4f1ec9 --- /dev/null +++ b/repo/libstaroffice/fix-maybe-uninitialized.patch @@ -0,0 +1,11 @@ +--- a/src/lib/StarGraphicStruct.cxx ++++ b/src/lib/StarGraphicStruct.cxx +@@ -152,7 +152,7 @@ + { + if (!pattern) return false; + STOFFVec2i sz(8,8); +- unsigned tmpBufferPosition, tmpDIBFileSize; ++ unsigned tmpBufferPosition, tmpDIBFileSize = 0; + auto tmpDIBBuffer=createAndInitBMPData(sz, tmpDIBFileSize, tmpBufferPosition); + if (!tmpDIBBuffer) return false; + -- cgit v1.2.1