pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libheif libheif: Fix build under NetBSD/amd64 8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03d12eda505c
branches:  trunk
changeset: 441988:03d12eda505c
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Nov 16 11:05:52 2020 +0000

description:
libheif: Fix build under NetBSD/amd64 8

Disable -Werror=maybe-uninitialized for NetBSD.
Reported by gdt@. Thank you.

diffstat:

 graphics/libheif/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 91fdc38b2c67 -r 03d12eda505c graphics/libheif/Makefile
--- a/graphics/libheif/Makefile Mon Nov 16 10:51:43 2020 +0000
+++ b/graphics/libheif/Makefile Mon Nov 16 11:05:52 2020 +0000
@@ -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 @@
 
 CONFIGURE_ARGS+=       --disable-go
 
+CXXFLAGS.NetBSD+=      -Wno-error=maybe-uninitialized
+
 PKGCONFIG_OVERRIDE+=   libheif.pc.in
 
 .include "../../mk/jpeg.buildlink3.mk"



Home | Main Index | Thread Index | Old Index