Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/litecoind/files/
Date: Sat, 24 Jul 2021 20:18:52
Message-Id: 1627157878.c2fa8fa475f85002fe9679f06639b6b978432a46.ionen@gentoo
1 commit: c2fa8fa475f85002fe9679f06639b6b978432a46
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Sat Jul 24 18:23:08 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 24 20:17:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2fa8fa4
7
8 net-p2p/litecoind: remove unused patches
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
12 Closes: https://github.com/gentoo/gentoo/pull/21767
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 net-p2p/litecoind/files/0.9.0-sys_leveldb.patch | 34 ----------------
16 .../files/litecoind-0.10.2.2-fix-gnustack.patch | 17 --------
17 .../files/litecoind-0.10.2.2-memenv_h.patch | 12 ------
18 .../litecoind/files/litecoind-0.10.4.0-gcc6.patch | 47 ----------------------
19 4 files changed, 110 deletions(-)
20
21 diff --git a/net-p2p/litecoind/files/0.9.0-sys_leveldb.patch b/net-p2p/litecoind/files/0.9.0-sys_leveldb.patch
22 deleted file mode 100644
23 index 60e9f2b2094..00000000000
24 --- a/net-p2p/litecoind/files/0.9.0-sys_leveldb.patch
25 +++ /dev/null
26 @@ -1,34 +0,0 @@
27 -commit c38e0af3e021eb0b2aba846c77b06ca71de06b11 (personal-github/sys_leveldb, sys_leveldb)
28 -Author: Luke Dashjr <luke-jr+git@×××××××.org>
29 -Date: Mon Sep 9 03:06:17 2013 +0000
30 -
31 - configure: Add unsupported --with-system-leveldb configure flag
32 -
33 -diff --git a/configure.ac b/configure.ac
34 -index 3ed4549..5a5852d 100644
35 ---- a/configure.ac
36 -+++ b/configure.ac
37 -@@ -332,10 +332,22 @@ AC_TRY_COMPILE([#include <sys/socket.h>],
38 - [ AC_MSG_RESULT(no)]
39 - )
40 -
41 -+dnl Check for leveldb, only if explicitly requested
42 - LEVELDB_CPPFLAGS=
43 - LIBLEVELDB=
44 - LIBMEMENV=
45 --AM_CONDITIONAL([EMBEDDED_LEVELDB],[true])
46 -+AC_ARG_WITH([system-leveldb],
47 -+ [AS_HELP_STRING([--with-system-leveldb],
48 -+ [Build with system LevelDB (default is no; DANGEROUS; NOT SUPPORTED)])],
49 -+ [system_leveldb=$withval],
50 -+ [system_leveldb=no]
51 -+)
52 -+if test x$system_leveldb != xno; then
53 -+ LEVELDB_CPPFLAGS=
54 -+ LIBLEVELDB=-lleveldb
55 -+ LIBMEMENV=-lmemenv
56 -+fi
57 -+AM_CONDITIONAL([EMBEDDED_LEVELDB],[test x$system_leveldb = xno])
58 - AC_SUBST(LEVELDB_CPPFLAGS)
59 - AC_SUBST(LIBLEVELDB)
60 - AC_SUBST(LIBMEMENV)
61
62 diff --git a/net-p2p/litecoind/files/litecoind-0.10.2.2-fix-gnustack.patch b/net-p2p/litecoind/files/litecoind-0.10.2.2-fix-gnustack.patch
63 deleted file mode 100644
64 index cbaf66ea93e..00000000000
65 --- a/net-p2p/litecoind/files/litecoind-0.10.2.2-fix-gnustack.patch
66 +++ /dev/null
67 @@ -1,17 +0,0 @@
68 -diff -Naur litecoin-0.10.2.2.orig/src/secp256k1/src/field_5x52_asm.asm litecoin-0.10.2.2/src/secp256k1/src/field_5x52_asm.asm
69 ---- litecoin-0.10.2.2.orig/src/secp256k1/src/field_5x52_asm.asm 2015-06-15 04:51:30.000000000 -0400
70 -+++ litecoin-0.10.2.2/src/secp256k1/src/field_5x52_asm.asm 2016-01-03 08:35:26.438350565 -0500
71 -@@ -466,4 +466,12 @@
72 - jmp common_exit_norm
73 - end
74 -
75 --
76 -+%ifidn __OUTPUT_FORMAT__,elf
77 -+section .note.GNU-stack noalloc noexec nowrite progbits
78 -+%endif
79 -+%ifidn __OUTPUT_FORMAT__,elf32
80 -+section .note.GNU-stack noalloc noexec nowrite progbits
81 -+%endif
82 -+%ifidn __OUTPUT_FORMAT__,elf64
83 -+section .note.GNU-stack noalloc noexec nowrite progbits
84 -+%endif
85
86 diff --git a/net-p2p/litecoind/files/litecoind-0.10.2.2-memenv_h.patch b/net-p2p/litecoind/files/litecoind-0.10.2.2-memenv_h.patch
87 deleted file mode 100644
88 index e181e4db5a9..00000000000
89 --- a/net-p2p/litecoind/files/litecoind-0.10.2.2-memenv_h.patch
90 +++ /dev/null
91 @@ -1,12 +0,0 @@
92 -diff -Naur litecoin-0.10.2.2.orig/src/leveldbwrapper.cpp litecoin-0.10.2.2/src/leveldbwrapper.cpp
93 ---- litecoin-0.10.2.2.orig/src/leveldbwrapper.cpp 2015-06-15 04:51:30.000000000 -0400
94 -+++ litecoin-0.10.2.2/src/leveldbwrapper.cpp 2015-08-28 21:30:45.968538185 -0400
95 -@@ -11,7 +11,7 @@
96 - #include <leveldb/cache.h>
97 - #include <leveldb/env.h>
98 - #include <leveldb/filter_policy.h>
99 --#include <memenv.h>
100 -+#include <leveldb/helpers/memenv.h>
101 -
102 - void HandleError(const leveldb::Status& status) throw(leveldb_error)
103 - {
104
105 diff --git a/net-p2p/litecoind/files/litecoind-0.10.4.0-gcc6.patch b/net-p2p/litecoind/files/litecoind-0.10.4.0-gcc6.patch
106 deleted file mode 100644
107 index 5c7e44da3d3..00000000000
108 --- a/net-p2p/litecoind/files/litecoind-0.10.4.0-gcc6.patch
109 +++ /dev/null
110 @@ -1,47 +0,0 @@
111 -From 40ce41c006787dc4a2e3b17f7abbaf8ff56c45e7 Mon Sep 17 00:00:00 2001
112 -From: Adrian Gallagher <thrasher@×××××××××××××××××.com>
113 -Date: Tue, 25 Oct 2016 17:48:19 -0700
114 -Subject: [PATCH] Litecoin: Fix build boost compilation error with C++11
115 -
116 ----
117 - src/chainparams.cpp | 20 ++++++++++----------
118 - 1 file changed, 10 insertions(+), 10 deletions(-)
119 -
120 -diff --git a/src/chainparams.cpp b/src/chainparams.cpp
121 -index ba8e33d1c14..7f99e45b7ad 100644
122 ---- a/src/chainparams.cpp
123 -+++ b/src/chainparams.cpp
124 -@@ -163,11 +163,11 @@ class CMainParams : public CChainParams {
125 - vSeeds.push_back(CDNSSeedData("weminemnc.com", "dnsseed.weminemnc.com"));
126 - vSeeds.push_back(CDNSSeedData("loshan.co.uk", "seed-a.litecoin.loshan.co.uk"));
127 -
128 -- base58Prefixes[PUBKEY_ADDRESS] = list_of(48);
129 -- base58Prefixes[SCRIPT_ADDRESS] = list_of(5);
130 -- base58Prefixes[SECRET_KEY] = list_of(176);
131 -- base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xB2)(0x1E);
132 -- base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x88)(0xAD)(0xE4);
133 -+ base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,48);
134 -+ base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,5);
135 -+ base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,176);
136 -+ base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x88)(0xB2)(0x1E).convert_to_container<std::vector<unsigned char> >();
137 -+ base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x88)(0xAD)(0xE4).convert_to_container<std::vector<unsigned char> >();
138 -
139 - convertSeed6(vFixedSeeds, pnSeed6_main, ARRAYLEN(pnSeed6_main));
140 -
141 -@@ -225,11 +225,11 @@ class CTestNetParams : public CMainParams {
142 - vSeeds.push_back(CDNSSeedData("xurious.com", "testnet-seed.ltc.xurious.com"));
143 - vSeeds.push_back(CDNSSeedData("wemine-testnet.com", "dnsseed.wemine-testnet.com"));
144 -
145 -- base58Prefixes[PUBKEY_ADDRESS] = list_of(111);
146 -- base58Prefixes[SCRIPT_ADDRESS] = list_of(196);
147 -- base58Prefixes[SECRET_KEY] = list_of(239);
148 -- base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x35)(0x87)(0xCF);
149 -- base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94);
150 -+ base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,111);
151 -+ base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,196);
152 -+ base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,239);
153 -+ base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x35)(0x87)(0xCF).convert_to_container<std::vector<unsigned char> >();
154 -+ base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x35)(0x83)(0x94).convert_to_container<std::vector<unsigned char> >();
155 -
156 - convertSeed6(vFixedSeeds, pnSeed6_test, ARRAYLEN(pnSeed6_test));
157 -