litecoin: update to 0.13.2.1.

This commit is contained in:
Enno Boland 2017-04-18 12:35:18 +02:00
parent f076919ba3
commit 5f860d264d
2 changed files with 24 additions and 6 deletions

View file

@ -0,0 +1,20 @@
--- src/qt/paymentrequestplus.cpp.orig 2017-04-18 12:28:33.789257513 +0200
+++ src/qt/paymentrequestplus.cpp 2017-04-18 12:29:01.597171846 +0200
@@ -159,7 +159,7 @@ bool PaymentRequestPlus::getMerchant(X50
std::string data_to_verify; // Everything but the signature
rcopy.SerializeToString(&data_to_verify);
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
EVP_MD_CTX *ctx = EVP_MD_CTX_new();
if (!ctx) throw SSLVerifyError("Error allocating OpenSSL context.");
#else
@@ -174,7 +174,7 @@ bool PaymentRequestPlus::getMerchant(X50
!EVP_VerifyFinal(ctx, (const unsigned char*)paymentRequest.signature().data(), (unsigned int)paymentRequest.signature().size(), pubkey)) {
throw SSLVerifyError("Bad signature, invalid payment request.");
}
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
EVP_MD_CTX_free(ctx);
#endif

View file

@ -1,22 +1,20 @@
# Template file for 'litecoin'
pkgname=litecoin
version=0.10.4.0
revision=6
wrksrc="${pkgname}-${version}"
version=0.13.2.1
revision=1
build_style=gnu-configure
configure_args="--with-incompatible-bdb --with-gui=qt5 --disable-static --disable-tests
--with-libressl"
hostmakedepends="automake libtool pkg-config yasm"
makedepends="zlib-devel db-devel libressl-devel boost-devel
qt5-tools-devel miniupnpc-devel protobuf-devel"
qt5-tools-devel miniupnpc-devel protobuf-devel libevent-devel"
short_desc="Peer-to-peer Internet currency based on scrypt cryptography"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.litecoin.org/"
distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"
checksum=a9adb6d2ae555afdaa2a5febb81341ac506930cf04ab95b9dc3ab99a4de0405e
checksum=cb07472b32f713bb37ea37cfcc336816a38c8684844c259c89203ed9fe54f85b
nocross=yes
broken="https://build.voidlinux.eu/builders/x86_64_builder/builds/2022/steps/shell_3/logs/stdio"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh