Browse Source

RPM spec file project in one commit

tags/v0.15.1
SHI 2 years ago
parent
commit
4dc5e97ea5
No account linked to committer's email address
1 changed files with 24 additions and 0 deletions
  1. 24
    0
      contrib/rpm/starwels-0.12.0-libressl.patch

+ 24
- 0
contrib/rpm/starwels-0.12.0-libressl.patch View File

@@ -0,0 +1,24 @@
diff -ur starwels-0.12.0.orig/src/init.cpp starwels-0.12.0/src/init.cpp
--- starwels-0.12.0.orig/src/init.cpp 2015-12-31 16:00:00.000000000 -0800
+++ starwels-0.12.0/src/init.cpp 2016-02-23 06:03:47.133227757 -0800
@@ -1075,7 +1075,7 @@
if (fPrintToDebugLog)
OpenDebugLog();
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
+#if defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x10100000L)
LogPrintf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
#else
LogPrintf("Using OpenSSL version %s\n", OpenSSL_version(OPENSSL_VERSION));
diff -ur starwels-0.12.0.orig/src/qt/rpcconsole.cpp starwels-0.12.0/src/qt/rpcconsole.cpp
--- starwels-0.12.0.orig/src/qt/rpcconsole.cpp 2015-12-31 16:00:00.000000000 -0800
+++ starwels-0.12.0/src/qt/rpcconsole.cpp 2016-02-23 15:09:42.881126841 -0800
@@ -264,7 +264,7 @@
// set library version labels
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
+#if defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x10100000L)
ui->openSSLVersion->setText(SSLeay_version(SSLEAY_VERSION));
#else
ui->openSSLVersion->setText(OpenSSL_version(OPENSSL_VERSION));

Loading…
Cancel
Save