xchat: unbreak
This commit is contained in:
parent
c4f87ce8c2
commit
e7c3d943fc
|
@ -0,0 +1,20 @@
|
||||||
|
--- src/common/ssl.c.orig 2016-03-30 20:54:51.193579450 +0200
|
||||||
|
+++ src/common/ssl.c 2016-03-30 20:55:03.070579987 +0200
|
||||||
|
@@ -70,7 +70,7 @@
|
||||||
|
|
||||||
|
SSLeay_add_ssl_algorithms ();
|
||||||
|
SSL_load_error_strings ();
|
||||||
|
- ctx = SSL_CTX_new (server ? SSLv3_server_method() : SSLv3_client_method ());
|
||||||
|
+ ctx = SSL_CTX_new (server ? SSLv23_server_method() : SSLv23_client_method ());
|
||||||
|
|
||||||
|
SSL_CTX_set_session_cache_mode (ctx, SSL_SESS_CACHE_BOTH);
|
||||||
|
SSL_CTX_set_timeout (ctx, 300);
|
||||||
|
@@ -281,7 +281,7 @@
|
||||||
|
__SSL_critical_error ("SSL_new");
|
||||||
|
|
||||||
|
SSL_set_fd (ssl, sd);
|
||||||
|
- if (ctx->method == SSLv3_client_method())
|
||||||
|
+ if (ctx->method == SSLv23_client_method())
|
||||||
|
SSL_set_connect_state (ssl);
|
||||||
|
else
|
||||||
|
SSL_set_accept_state(ssl);
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xchat'
|
# Template file for 'xchat'
|
||||||
pkgname=xchat
|
pkgname=xchat
|
||||||
version=2.8.8
|
version=2.8.8
|
||||||
revision=11
|
revision=12
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config gdk-pixbuf-devel perl"
|
hostmakedepends="pkg-config gdk-pixbuf-devel perl"
|
||||||
|
@ -11,11 +11,10 @@ configure_args=" --sysconfdir=/etc --enable-openssl --enable-dbus
|
||||||
short_desc="A GTK+ based IRC client"
|
short_desc="A GTK+ based IRC client"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
homepage="http://www.xchat.org/"
|
homepage="http://www.xchat.org/"
|
||||||
license="GPL"
|
license="GPL-2"
|
||||||
distfiles="http://www.xchat.org/files/source/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="http://www.xchat.org/files/source/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=37b7afd87b5576e17f5dbdd0ed8c14004ac71b8c5430baff9a785bad8df0310b
|
checksum=37b7afd87b5576e17f5dbdd0ed8c14004ac71b8c5430baff9a785bad8df0310b
|
||||||
make_build_args="LDFLAGS=-lgmodule-2.0"
|
make_build_args="LDFLAGS=-lgmodule-2.0"
|
||||||
broken="SSLv3_client_method"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local perlflags=
|
local perlflags=
|
||||||
|
|
Loading…
Reference in New Issue