Skip to content
Snippets Groups Projects
  1. Jun 08, 2022
  2. Nov 29, 2021
    • Colin Watson's avatar
      minilzo: Update to minilzo-2.10 · dbcbb3e5
      Colin Watson authored
      
      minilzo fails to build on a number of Debian release architectures
      (armel, mips64el, mipsel, ppc64el) with errors such as:
      
        ../../grub-core/lib/minilzo/minilzo.c: In function 'lzo_memops_get_le16':
        ../../grub-core/lib/minilzo/minilzo.c:3479:11: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
         3479 |         * (lzo_memops_TU2p) (lzo_memops_TU0p) (dd) = * (const lzo_memops_TU2p) (const lzo_memops_TU0p) (ss); \
              |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        ../../grub-core/lib/minilzo/minilzo.c:3530:5: note: in expansion of macro 'LZO_MEMOPS_COPY2'
         3530 |     LZO_MEMOPS_COPY2(&v, ss);
              |     ^~~~~~~~~~~~~~~~
      
      The latest upstream version is 2.10, so updating to it seems like a good
      idea on general principles, and it fixes builds on all the above
      architectures.
      
      The update procedure documented in the GRUB Developers Manual worked; I
      just updated the version numbers to make it clear that it's been
      executed recently.
      
      Signed-off-by: default avatarColin Watson <cjwatson@debian.org>
      
      Forwarded: https://lists.gnu.org/archive/html/grub-devel/2021-11/msg00095.html
      Last-Update: 2021-11-29
      
      Patch-Name: minilzo-2.10.patch
      dbcbb3e5
  3. Sep 27, 2021
Loading