svn commit: r457245 - in head/net-p2p: bitcoin litecoin

Alexey Dokuchaev danfe at FreeBSD.org
Tue Dec 26 07:16:27 UTC 2017


On Mon, Dec 25, 2017 at 06:07:48PM +0000, Jan Beich wrote:
> New Revision: 457245
> URL: https://svnweb.freebsd.org/changeset/ports/457245
> 
> Log:
>   net-p2p/bitcoin: unbreak with boost 1.66
>   
>   PR:		224129 224132
>   Obtained from:	upstream (Bitcoin 0.16.0)
>   Approved by:	portmgr blanket
> 
> Modified: head/net-p2p/bitcoin/Makefile
> ...
> @@ -7,6 +7,9 @@ DISTVERSIONPREFIX=	v
>  PORTREVISION?=	2
>  CATEGORIES=	net-p2p finance
>  
> +PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
> +PATCHFILES=	1ec0c0a01c31.patch:-p1
...
> 
> Modified: head/net-p2p/bitcoin/distinfo
> ...
> +SIZE (1ec0c0a01c31.patch) = 3535

I'd like to bring to your attention (again) that this approach of fetching
external patches is fragile and already had broken things in the past.
Putting 3535-byte patch file in ${FILESDIR} is perfectly fine for its size
(and EXTRA_PATCHES also supports :-p1).

./danfe


More information about the svn-ports-head mailing list