irssi: update to 1.2.0.

This commit is contained in:
maxice8 2019-02-12 23:30:10 -02:00 committed by maxice8
parent 1807bb913f
commit 2c7f4605c1
2 changed files with 3 additions and 27 deletions

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-src_core_network-openssl_c,v 1.6 2018/02/23 14:39:51 sthen Exp $
Index: src/core/network-openssl.c
--- src/core/network-openssl.c.orig
+++ src/core/network-openssl.c
@@ -35,7 +35,8 @@
#include <openssl/err.h>
/* OpenSSL 1.1.0 introduced some backward-incompatible changes to the api */
-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \
+ !(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
/* The two functions below could be already defined if OPENSSL_API_COMPAT is
* below the 1.1.0 version so let's do a clean start */
#undef X509_get_notBefore
@@ -47,7 +48,8 @@
/* OpenSSL 1.1.0 also introduced some useful additions to the api */
#if (OPENSSL_VERSION_NUMBER >= 0x10002000L)
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER)
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
+ (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
static int X509_STORE_up_ref(X509_STORE *vfy)
{
int n;

View File

@ -1,6 +1,6 @@
# Template file for 'irssi'
pkgname=irssi
version=1.1.2
version=1.2.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-proxy --enable-true-color"
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.irssi.org"
distfiles="https://github.com/irssi/irssi/releases/download/${version}/irssi-${version}.tar.gz"
checksum=db7d9ec271c13a28e28af9d72656f61849de88e2592cbb7530768da614697049
checksum=350dfc5fd8db881e6f1982da0466900b5b175527e9a94d69ada0b7e90a73e3ea
LDFLAGS="-lncursesw"
subpackages="irssi-devel"
@ -33,6 +33,7 @@ irssi-perl_package() {
vmove usr/share/irssi/scripts
}
}
irssi-devel_package() {
depends="${makedepends}"
short_desc+=" - development files"