pkgsrc-WIP-changes archive

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

bitcoin: Add comments



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%ir.bbn.com@localhost>
Pushed By:	gdt
Date:		Tue Nov 29 14:15:52 2016 -0500
Changeset:	20752224314a3f9f2dd5320cbd58d841a44a94f5

Modified Files:
	bitcoin/Makefile
	bitcoin/distinfo
	bitcoin/patches/patch-src_leveldb_port_port__posix.h
	bitcoin/patches/patch-src_netbase.cpp

Log Message:
bitcoin: Add comments

Add comments to patches.
Explain why -fPIC is used.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=20752224314a3f9f2dd5320cbd58d841a44a94f5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 bitcoin/Makefile                                     | 3 ++-
 bitcoin/distinfo                                     | 5 +++--
 bitcoin/patches/patch-src_leveldb_port_port__posix.h | 2 ++
 bitcoin/patches/patch-src_netbase.cpp                | 4 ++++
 4 files changed, 11 insertions(+), 3 deletions(-)

diffs:
diff --git a/bitcoin/Makefile b/bitcoin/Makefile
index 1c44cf6..83a018e 100644
--- a/bitcoin/Makefile
+++ b/bitcoin/Makefile
@@ -23,7 +23,8 @@ USE_LANGUAGES=	c c++
 # For now, leave it out.
 #CXXFLAGS+=	-std=c++0x
 
-# TODO: Explain why this is necessary.
+# TODO: File bug upstream - configure should add this where it is
+# needed.  Without -fPIC, linking of test_bitcoin fails.
 CFLAGS+=        -fPIC
 
 # configure does not look in PREFIX for boost unless instructed.
diff --git a/bitcoin/distinfo b/bitcoin/distinfo
index b982d61..57fd6dd 100644
--- a/bitcoin/distinfo
+++ b/bitcoin/distinfo
@@ -2,6 +2,7 @@ $NetBSD$
 
 SHA1 (bitcoin-0.11.2.tar.gz) = 1cb785a2dcd4a714159f7fa9f90cc830a93168c3
 RMD160 (bitcoin-0.11.2.tar.gz) = 5f340415560fdd85400afec3d0dc532d5c9f24cb
+SHA512 (bitcoin-0.11.2.tar.gz) = ace44bb017bd6359755dc545846cf1990c793aaa1467165db4b0808efd92dccce781b50b44fbd535195fe45727b499b5c26e4d8a21faa88a1bc8cbf2b0dc1b7d
 Size (bitcoin-0.11.2.tar.gz) = 5955398 bytes
-SHA1 (patch-src_leveldb_port_port__posix.h) = 3830a90f36375c6c4d0412b28553969121efec64
-SHA1 (patch-src_netbase.cpp) = 513f7ad208d3b0d131fe68674ee00b8c94919a05
+SHA1 (patch-src_leveldb_port_port__posix.h) = 6a3cde12951b9801e8ffe19b6134ca48ad0d876c
+SHA1 (patch-src_netbase.cpp) = 4de772e3b5f23ef6c29fedc70455f7a8705df591
diff --git a/bitcoin/patches/patch-src_leveldb_port_port__posix.h b/bitcoin/patches/patch-src_leveldb_port_port__posix.h
index 9d72cd3..1d05aea 100644
--- a/bitcoin/patches/patch-src_leveldb_port_port__posix.h
+++ b/bitcoin/patches/patch-src_leveldb_port_port__posix.h
@@ -1,5 +1,7 @@
 $NetBSD$
 
+Accomodate NetBSD's BYTE_ORDER macros.  Not known to be filed upstream.
+
 --- src/leveldb/port/port_posix.h.orig	2015-07-10 17:23:55.000000000 +0000
 +++ src/leveldb/port/port_posix.h
 @@ -47,8 +47,12 @@
diff --git a/bitcoin/patches/patch-src_netbase.cpp b/bitcoin/patches/patch-src_netbase.cpp
index f8c449e..3181861 100644
--- a/bitcoin/patches/patch-src_netbase.cpp
+++ b/bitcoin/patches/patch-src_netbase.cpp
@@ -1,5 +1,9 @@
 $NetBSD$
 
+It is unclear why this patch exists.  NetBSD 6 and 7 have AI_ADDRCONFIG,
+although NetBSD 5 does not.  Arguably upstream should have an autoconf
+test instead.  This is not known to be reported upstream.
+
 --- src/netbase.cpp.orig	2015-07-10 17:23:55.000000000 +0000
 +++ src/netbase.cpp
 @@ -126,8 +126,12 @@ bool static LookupIntern(const char *psz


Home | Main Index | Thread Index | Old Index