Received: by mail.netbsd.org (Postfix, from userid 605) id 4F3A585685; Thu, 6 Jul 2017 13:04:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D363E8567F for ; Thu, 6 Jul 2017 13:04:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id WBU9-OO8TheN for ; Thu, 6 Jul 2017 13:04:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6744384D74 for ; Thu, 6 Jul 2017 13:04:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5D840FAE8; Thu, 6 Jul 2017 13:04:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_149934626880410" MIME-Version: 1.0 Date: Thu, 6 Jul 2017 13:04:28 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/misc/rhash To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20170706130428.5D840FAE8@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. --_----------=_149934626880410 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Thu Jul 6 13:04:28 UTC 2017 Modified Files: pkgsrc/misc/rhash: distinfo Added Files: pkgsrc/misc/rhash/patches: patch-Makefile Log Message: Honor pkgsrc CFLAGS and LDFLAGS. Fixes RELRO build. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/misc/rhash/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/misc/rhash/patches/patch-Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_149934626880410 Content-Disposition: inline Content-Length: 1687 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/misc/rhash/distinfo diff -u pkgsrc/misc/rhash/distinfo:1.6 pkgsrc/misc/rhash/distinfo:1.7 --- pkgsrc/misc/rhash/distinfo:1.6 Thu Apr 13 09:40:36 2017 +++ pkgsrc/misc/rhash/distinfo Thu Jul 6 13:04:28 2017 @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.6 2017/04/13 09:40:36 jperkin Exp $ +$NetBSD: distinfo,v 1.7 2017/07/06 13:04:28 wiz Exp $ SHA1 (rhash-1.3.4.tar.gz) = fc4610084b8b5a8d20ef0b788381709921ada8bb RMD160 (rhash-1.3.4.tar.gz) = 00225455818941f6e59b398854f128687465448b SHA512 (rhash-1.3.4.tar.gz) = 1d6af41f98588005ad2dcabdf479a30f7e4e6b59d56b322702827470e6eaa9a6905e9c1424f778b90488f04e719aa3b2985b92820b7da40ae30f2968339990c0 Size (rhash-1.3.4.tar.gz) = 309181 bytes +SHA1 (patch-Makefile) = 04a890dcfae086b2984f294833eca300ce6b8128 SHA1 (patch-librhash_byte__order.h) = 04b5b1f75ec2e20e301f9cf1a055df1b260a8912 Added files: Index: pkgsrc/misc/rhash/patches/patch-Makefile diff -u /dev/null pkgsrc/misc/rhash/patches/patch-Makefile:1.1 --- /dev/null Thu Jul 6 13:04:28 2017 +++ pkgsrc/misc/rhash/patches/patch-Makefile Thu Jul 6 13:04:28 2017 @@ -0,0 +1,17 @@ +$NetBSD: patch-Makefile,v 1.1 2017/07/06 13:04:28 wiz Exp $ + +Use pkgsrc CFLAGS and LDFLAGS. + +--- Makefile.orig 2016-11-06 20:12:16.000000000 +0000 ++++ Makefile 2017-07-06 13:01:57.925655166 +0000 +@@ -8,8 +8,8 @@ + # using OPTFLAGS/OPTLDFLAGS for compatibilty with old scripts using this makefile + OPTFLAGS = -O2 -DNDEBUG -fomit-frame-pointer -ffunction-sections -fdata-sections + OPTLDFLAGS = +-CFLAGS = $(OPTFLAGS) +-LDFLAGS = $(OPTLDFLAGS) ++CFLAGS += $(OPTFLAGS) ++LDFLAGS += $(OPTLDFLAGS) + ADDCFLAGS = + ADDLDFLAGS = + ALLCFLAGS = -pipe $(CFLAGS) $(ADDCFLAGS) \ --_----------=_149934626880410--