gkrellm: update to 2.3.11

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
Nathan Owens 2019-12-31 14:51:34 -06:00 committed by Juan RP
parent 04189abf53
commit ff91b91184
2 changed files with 37 additions and 3 deletions

View file

@ -0,0 +1,34 @@
diff --git src/mail.c src/mail.c
index 6615f31..205b56f 100644
--- src/mail.c
+++ src/mail.c
-#if defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER < 0x10100000L)
+#if defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER < 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
static void
ssl_locking_cb(int mode, int n, const char *file, int line)
{
@@ -452,7 +452,7 @@ update_tooltip(void)
MailAccount *account;
GString *mboxes = NULL;
gchar buf[128];
-
+
if (show_tooltip)
{
mboxes = g_string_sized_new(512);
@@ -4399,8 +4399,10 @@ gkrellm_init_mail_monitor(void)
ssl_locks[i] = g_new(GMutex, 1);
g_mutex_init(ssl_locks[i]);
}
+#ifndef LIBRESSL_VERSION_NUMBER
CRYPTO_set_locking_callback(ssl_locking_cb);
#endif
+#endif
#endif
mail_fetch = g_new0(Mailbox, 1);
@@ -4526,4 +4528,3 @@ gkrellm_destroy_external_mbox(gpointer mbox_ptr)
}
/* =======================================================================*/
-

View file

@ -1,7 +1,7 @@
# Template file for 'gkrellm'
pkgname=gkrellm
version=2.3.10
revision=7
version=2.3.11
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libressl-devel libSM-devel gtk+-devel libsensors-devel"
@ -10,7 +10,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0.or-later"
homepage="http://gkrellm.srcbox.net"
distfiles="${homepage}/releases/gkrellm-${version}.tar.bz2"
checksum=8b9ec8baadcd5830c6aff04ba86dc9ed317a15c1c3787440bd1e680fb2fcd766
checksum=1ee0643ed9ed99f88c1504c89d9ccb20780cf29319c904b68e80a8e7c8678c06
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} STRIP= install