2 Commits

Author SHA1 Message Date
Khem Raj d3d3506ad9 libowfat: relax -Werror=incompatible-pointer-types for GCC 14+
GCC 14 promotes -Wincompatible-pointer-types to an error by default. The
buffer_init*.c sources pass read()/write() directly where a typeless op
function pointer is expected:

  buffer/buffer_init_read.c:6:18: error: passing argument 2 of 'buffer_init'
  from incompatible pointer type [-Wincompatible-pointer-types]

The existing gcc-15 patch only fixes the BUFFER_INIT macro, not these call
sites. Add -Wno-error=incompatible-pointer-types so the build completes.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:27 -07:00
Khem Raj 68ddc6cff3 libowfat: upgrade 0.32 -> 0.34
Drop 0001-replace-__pure__-with-compiler-attribute-pure, which is obsolete
in 0.34, and refresh 0001-fix-incompatible-type-error-with-gcc-15 to the
hunks still needed.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:09 -07:00