pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pango pango: Fix build with clang10svn



details:   https://anonhg.NetBSD.org/pkgsrc/rev/534d86c45a64
branches:  trunk
changeset: 339362:534d86c45a64
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Wed Sep 11 21:20:48 2019 +0000

description:
pango: Fix build with clang10svn

Trim -Werror=implicit-fallthrough with a buildlink transform.

diffstat:

 devel/pango/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 43cf53a8a9ce -r 534d86c45a64 devel/pango/Makefile
--- a/devel/pango/Makefile      Wed Sep 11 19:02:24 2019 +0000
+++ b/devel/pango/Makefile      Wed Sep 11 21:20:48 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.224 2019/09/07 21:13:34 nia Exp $
+# $NetBSD: Makefile,v 1.225 2019/09/11 21:20:48 kamil Exp $
 
 DISTNAME=      pango-1.44.5
 CATEGORIES=    devel fonts
@@ -28,6 +28,8 @@
 CHECK_FILES_SKIP+=     ${PREFIX}/libdata/pango/pango.modules
 CHECK_PORTABILITY_SKIP+= docs/check.docs
 
+BUILDLINK_TRANSFORM+=  rm:-Werror=implicit-fallthrough # clang10svn
+
 post-install:
        ${MV} ${DESTDIR}${PREFIX}/share/man/man1/pango-view.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pango-view.1 || ${TRUE}
 



Home | Main Index | Thread Index | Old Index