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 building with Clang
details: https://anonhg.NetBSD.org/pkgsrc/rev/320472b7f2a2
branches: trunk
changeset: 455921:320472b7f2a2
user: adam <adam%pkgsrc.org@localhost>
date: Wed Jul 14 17:24:54 2021 +0000
description:
libheif: fix building with Clang
diffstat:
graphics/libheif/Makefile | 7 +++++--
graphics/libheif/buildlink3.mk | 4 ++--
2 files changed, 7 insertions(+), 4 deletions(-)
diffs (45 lines):
diff -r ddc551056dce -r 320472b7f2a2 graphics/libheif/Makefile
--- a/graphics/libheif/Makefile Wed Jul 14 16:52:15 2021 +0000
+++ b/graphics/libheif/Makefile Wed Jul 14 17:24:54 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2021/05/20 08:21:21 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2021/07/14 17:24:54 adam Exp $
DISTNAME= libheif-1.12.0
CATEGORIES= graphics
@@ -18,13 +18,16 @@
CONFIGURE_ARGS+= --disable-go
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mgcc)
CXXFLAGS.NetBSD+= -Wno-error=maybe-uninitialized
+.endif
PKGCONFIG_OVERRIDE+= libheif.pc.in
-.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../multimedia/libaom/buildlink3.mk"
.include "../../multimedia/libde265/buildlink3.mk"
.include "../../multimedia/x265/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ddc551056dce -r 320472b7f2a2 graphics/libheif/buildlink3.mk
--- a/graphics/libheif/buildlink3.mk Wed Jul 14 16:52:15 2021 +0000
+++ b/graphics/libheif/buildlink3.mk Wed Jul 14 17:24:54 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2021/04/12 08:29:59 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2021/07/14 17:24:54 adam Exp $
BUILDLINK_TREE+= libheif
@@ -6,7 +6,7 @@
LIBHEIF_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libheif+= libheif>=1.8.0
-BUILDLINK_ABI_DEPENDS.libheif?= libheif>=1.11.0nb1
+BUILDLINK_ABI_DEPENDS.libheif+= libheif>=1.11.0nb1
BUILDLINK_PKGSRCDIR.libheif?= ../../graphics/libheif
.include "../../graphics/png/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index