Index: head/net-p2p/qtum/files/patch-src__cpp-ethereum__libethash__endian.h =================================================================== --- head/net-p2p/qtum/files/patch-src__cpp-ethereum__libethash__endian.h (nonexistent) +++ head/net-p2p/qtum/files/patch-src__cpp-ethereum__libethash__endian.h (revision 492383) @@ -0,0 +1,36 @@ +--- src/cpp-ethereum/libethash/endian.h.orig 2018-07-06 00:22:11.000000000 +0200 ++++ src/cpp-ethereum/libethash/endian.h 2019-02-07 09:09:17.097747000 +0100 +@@ -55,20 +55,20 @@ + + #define fix_endian32(dst_, src_) dst_ = ethash_swap_u32(src_) + #define fix_endian32_same(val_) val_ = ethash_swap_u32(val_) +-#define fix_endian64(dst_, src_) dst_ = ethash_swap_u64(src_ ++#define fix_endian64(dst_, src_) dst_ = ethash_swap_u64(src_) + #define fix_endian64_same(val_) val_ = ethash_swap_u64(val_) +-#define fix_endian_arr32(arr_, size_) \ +- do { \ +- for (unsigned i_ = 0; i_ < (size_), ++i_) { \ +- arr_[i_] = ethash_swap_u32(arr_[i_]); \ +- } \ +- while (0) +-#define fix_endian_arr64(arr_, size_) \ +- do { \ +- for (unsigned i_ = 0; i_ < (size_), ++i_) { \ +- arr_[i_] = ethash_swap_u64(arr_[i_]); \ +- } \ +- while (0) \ ++#define fix_endian_arr32(arr_, size_) \ ++ do { \ ++ for (unsigned i_ = 0; i_ < (size_); ++i_) { \ ++ (arr_)[i_] = ethash_swap_u32((arr_)[i_]); \ ++ } \ ++ } while (0) ++#define fix_endian_arr64(arr_, size_) \ ++ do { \ ++ for (unsigned i_ = 0; i_ < (size_); ++i_) { \ ++ (arr_)[i_] = ethash_swap_u64((arr_)[i_]); \ ++ } \ ++ } while (0) + + #else + # error "endian not supported" Property changes on: head/net-p2p/qtum/files/patch-src__cpp-ethereum__libethash__endian.h ___________________________________________________________________ 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 Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-p2p/qtum/files/patch-src__cpp-ethereum__libethash__internal.c =================================================================== --- head/net-p2p/qtum/files/patch-src__cpp-ethereum__libethash__internal.c (nonexistent) +++ head/net-p2p/qtum/files/patch-src__cpp-ethereum__libethash__internal.c (revision 492383) @@ -0,0 +1,11 @@ +--- src/cpp-ethereum/libethash/internal.c.orig 2019-02-07 09:02:35.787808000 +0100 ++++ src/cpp-ethereum/libethash/internal.c 2019-02-07 09:06:32.651306000 +0100 +@@ -328,7 +328,7 @@ + void ethash_quick_hash( + ethash_h256_t* return_hash, + ethash_h256_t const* header_hash, +- uint64_t const nonce, ++ uint64_t nonce, + ethash_h256_t const* mix_hash + ) + { Property changes on: head/net-p2p/qtum/files/patch-src__cpp-ethereum__libethash__internal.c ___________________________________________________________________ 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 Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property