Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ovmf for openSUSE:Factory checked in 
at 2021-04-01 14:16:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ovmf (Old)
 and      /work/SRC/openSUSE:Factory/.ovmf.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ovmf"

Thu Apr  1 14:16:07 2021 rev:59 rq:881515 version:202102

Changes:
--------
--- /work/SRC/openSUSE:Factory/ovmf/ovmf.changes        2021-03-18 
22:54:32.419504893 +0100
+++ /work/SRC/openSUSE:Factory/.ovmf.new.2401/ovmf.changes      2021-04-01 
14:16:23.315903793 +0200
@@ -1,0 +2,6 @@
+Fri Mar 26 10:26:57 UTC 2021 - Gary Ching-Pang Lin <g...@suse.com>
+
+- Add ovmf-bsc1183713-fix-gcc10-brotli-errors.patch to fix the
+  gcc10 error from brotli (bsc#1183713)
+
+-------------------------------------------------------------------

New:
----
  ovmf-bsc1183713-fix-gcc10-brotli-errors.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ovmf.spec ++++++
--- /var/tmp/diff_new_pack.Sck2Wc/_old  2021-04-01 14:16:24.275904894 +0200
+++ /var/tmp/diff_new_pack.Sck2Wc/_new  2021-04-01 14:16:24.279904898 +0200
@@ -52,6 +52,7 @@
 Patch3:         %{name}-pie.patch
 Patch4:         %{name}-disable-ia32-firmware-piepic.patch
 Patch5:         %{name}-set-fixed-enroll-time.patch
+Patch6:         %{name}-bsc1183713-fix-gcc10-brotli-errors.patch
 BuildRequires:  bc
 BuildRequires:  cross-arm-binutils
 BuildRequires:  cross-arm-gcc%{gcc_version}
@@ -187,11 +188,13 @@
 tar -xf %{SOURCE8} --strip 1
 #  remove the executable bit from files
 find . -type f -exec chmod 0644 {} \;
+%patch6 -p1
 popd
 pushd MdeModulePkg/Library/BrotliCustomDecompressLib/brotli
 tar -xf %{SOURCE8} --strip 1
 #  remove the executable bit from files
 find . -type f -exec chmod 0644 {} \;
+%patch6 -p1
 popd
 
 # add oniguruma






++++++ ovmf-bsc1183713-fix-gcc10-brotli-errors.patch ++++++
diff --git a/c/dec/decode.c b/c/dec/decode.c
index 114c505..40aeca2 100644
--- a/c/dec/decode.c
+++ b/c/dec/decode.c
@@ -2030,8 +2030,8 @@ static BROTLI_NOINLINE BrotliDecoderErrorCode 
SafeProcessCommands(
 }
 
 BrotliDecoderResult BrotliDecoderDecompress(
-    size_t encoded_size, const uint8_t* encoded_buffer, size_t* decoded_size,
-    uint8_t* decoded_buffer) {
+    size_t encoded_size, const uint8_t encoded_buffer[encoded_size], size_t* 
decoded_size,
+    uint8_t decoded_buffer[*decoded_size]) {
   BrotliDecoderState s;
   BrotliDecoderResult result;
   size_t total_out = 0;

Reply via email to