Received: by mail.netbsd.org (Postfix, from userid 605) id 5AB0884DD8; Wed, 22 May 2019 08:58:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D663684D76 for ; Wed, 22 May 2019 08:58:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id lszlaj_Fnd1p for ; Wed, 22 May 2019 08:58:39 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 3CC3584D31 for ; Wed, 22 May 2019 08:58:39 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3A3D0FBB7; Wed, 22 May 2019 08:58:39 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1558515519264450" MIME-Version: 1.0 Date: Wed, 22 May 2019 08:58:39 +0000 From: "Jared D. McNeill" Subject: CVS commit: pkgsrc/sysutils/bsdec2-image-upload To: pkgsrc-changes@NetBSD.org Reply-To: jmcneill@netbsd.org X-Mailer: log_accum Message-Id: <20190522085839.3A3D0FBB7@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1558515519264450 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jmcneill Date: Wed May 22 08:58:39 UTC 2019 Modified Files: pkgsrc/sysutils/bsdec2-image-upload: Makefile Log Message: Fix build on NetBSD. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/bsdec2-image-upload/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1558515519264450 Content-Disposition: inline Content-Length: 931 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/sysutils/bsdec2-image-upload/Makefile diff -u pkgsrc/sysutils/bsdec2-image-upload/Makefile:1.1 pkgsrc/sysutils/bsdec2-image-upload/Makefile:1.2 --- pkgsrc/sysutils/bsdec2-image-upload/Makefile:1.1 Wed May 22 08:45:10 2019 +++ pkgsrc/sysutils/bsdec2-image-upload/Makefile Wed May 22 08:58:39 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2019/05/22 08:45:10 jmcneill Exp $ +# $NetBSD: Makefile,v 1.2 2019/05/22 08:58:39 jmcneill Exp $ GITHUB_PROJECT= bsdec2-image-upload DISTNAME= 1.2.2 @@ -14,8 +14,16 @@ LICENSE= 2-clause-bsd WRKSRC= ${WRKDIR}/bsdec2-image-upload-1.2.2 +MAKE_ENV+= NOMAN=1 CFLAGS+= -DCERTFILE=\"${PREFIX}/share/mozilla-rootcerts/cacert.pem\" +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mgcc) +CFLAGS+= -Wno-error=pointer-sign \ + -Wno-error=maybe-uninitialized \ + -Wno-error=discarded-qualifiers +.endif + INSTALLATION_DIRS+= bin do-install: --_----------=_1558515519264450--