From aaa68a2b21df3913330c3dca55375cb864ec6d53 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Thu, 7 Nov 2024 01:12:18 +0000
Subject: [PATCH] extra/libheif: fix

---
 extra/libheif/PKGBUILD | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extra/libheif/PKGBUILD b/extra/libheif/PKGBUILD
index c229446b8..535e2fd6f 100644
--- a/extra/libheif/PKGBUILD
+++ b/extra/libheif/PKGBUILD
@@ -35,6 +35,7 @@ source=(git+https://github.com/strukturag/libheif#tag=v$pkgver)
 sha256sums=('edd45429bf2ce428cfe8082f8879d27633b77435c3cd073c7a23e2525121368d')
 
 build() {
+  CXXFLAGS+=" -Wno-error=stringop-overflow"
   cmake -B build -S $pkgname \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DWITH_DAV1D=ON \