pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libusb Disable -Werror when building. If it is ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ccf96bc14985
branches:  trunk
changeset: 333914:ccf96bc14985
user:      pgoyette <pgoyette%pkgsrc.org@localhost>
date:      Thu May 16 16:17:52 2019 +0000

description:
Disable -Werror when building.  If it is enabled, current releases of
gcc (7.4.0) will generate lots of errors concerning snprintf().

Fix proposed by wiz@ and confirmed by me.

diffstat:

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

diffs (16 lines):

diff -r 9ed82ffa5566 -r ccf96bc14985 devel/libusb/Makefile
--- a/devel/libusb/Makefile     Thu May 16 14:12:14 2019 +0000
+++ b/devel/libusb/Makefile     Thu May 16 16:17:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2018/08/19 20:16:39 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2019/05/16 16:17:52 pgoyette Exp $
 
 DISTNAME=      libusb-0.1.12
 PKGREVISION=   5
@@ -79,4 +79,6 @@
        ${INSTALL_DATA} ${WRKSRC}/libusb.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
 .endif
 
+BUILDLINK_TRANSFORM+=  rm:-Werror
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index