Date: Tue, 24 Sep 2013 02:02:53 GMT From: Steve Wills <swills@freebsd.org> To: FreeBSD-gnats-submit@freebsd.org Cc: robbak@robbak.com Subject: ports/182338: [PATCH] net-p2p/bitcoin: Fix build on 10.0-ALPHA2 Message-ID: <201309240202.r8O22r2T098144@meatwad.mouf.net> Resent-Message-ID: <201309240210.r8O2A0QE078346@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182338 >Category: ports >Synopsis: [PATCH] net-p2p/bitcoin: Fix build on 10.0-ALPHA2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 24 02:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Steve Wills >Release: FreeBSD 10.0-ALPHA2 amd64 >Organization: >Environment: System: FreeBSD meatwad.mouf.net 10.0-ALPHA2 FreeBSD 10.0-ALPHA2 #7 r255703M: Thu Sep 19 21:42:35 UTC >Description: - Remove redundant declaration to fix build on 10.0-ALPHA2 Port maintainer (robbak@robbak.com) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- bitcoin-0.8.5.patch begins here --- Index: files/patch-src__serialize.h =================================================================== --- files/patch-src__serialize.h (revision 0) +++ files/patch-src__serialize.h (working copy) @@ -0,0 +1,22 @@ +--- ./src/serialize.h.orig 2013-09-24 01:50:35.661706153 +0000 ++++ ./src/serialize.h 2013-09-24 01:50:52.913703572 +0000 +@@ -895,19 +895,6 @@ + iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); } + void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); } + +- void insert(iterator it, const_iterator first, const_iterator last) +- { +- assert(last - first >= 0); +- if (it == vch.begin() + nReadPos && (unsigned int)(last - first) <= nReadPos) +- { +- // special case for inserting at the front when there's room +- nReadPos -= (last - first); +- memcpy(&vch[nReadPos], &first[0], last - first); +- } +- else +- vch.insert(it, first, last); +- } +- + void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last) + { + assert(last - first >= 0); Property changes on: files/patch-src__serialize.h ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property --- bitcoin-0.8.5.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309240202.r8O22r2T098144>