summaryrefslogtreecommitdiff
path: root/graphics/libheif
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-11-16 11:05:52 +0000
committerryoon <ryoon@pkgsrc.org>2020-11-16 11:05:52 +0000
commit0454108a65ee624757d854a7dd6e7f61fd4d6ed2 (patch)
tree5119c42edfcfb652b567ee2b688f38718c0b495e /graphics/libheif
parenta6bdcc54738544f7a01ae2065b36428023055833 (diff)
downloadpkgsrc-0454108a65ee624757d854a7dd6e7f61fd4d6ed2.tar.gz
libheif: Fix build under NetBSD/amd64 8
Disable -Werror=maybe-uninitialized for NetBSD. Reported by gdt@. Thank you.
Diffstat (limited to 'graphics/libheif')
-rw-r--r--graphics/libheif/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile
index 4a52ab4b20f..635fa6abf0f 100644
--- a/graphics/libheif/Makefile
+++ b/graphics/libheif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/10/11 23:47:31 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2020/11/16 11:05:52 ryoon Exp $
DISTNAME= libheif-1.9.1
PKGREVISION= 1
@@ -19,6 +19,8 @@ USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --disable-go
+CXXFLAGS.NetBSD+= -Wno-error=maybe-uninitialized
+
PKGCONFIG_OVERRIDE+= libheif.pc.in
.include "../../mk/jpeg.buildlink3.mk"