xchat: remove.
Last release was 8 years ago and HexChat is the blessed fork.
This commit is contained in:
parent
d437ed62bf
commit
0ba36bd3f6
@ -1,47 +0,0 @@
|
||||
--- src/common/servlist.c
|
||||
+++ src/common/servlist.c
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "xchat.h"
|
||||
-#include <glib/ghash.h>
|
||||
+#include <glib.h>
|
||||
|
||||
#include "cfgfiles.h"
|
||||
#include "fe.h"
|
||||
--- src/common/text.c
|
||||
+++ src/common/text.c
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "xchat.h"
|
||||
-#include <glib/ghash.h>
|
||||
+#include <glib.h>
|
||||
#include "cfgfiles.h"
|
||||
#include "chanopt.h"
|
||||
#include "plugin.h"
|
||||
--- src/common/util.c
|
||||
+++ src/common/util.c
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <errno.h>
|
||||
#include "xchat.h"
|
||||
#include "xchatc.h"
|
||||
-#include <glib/gmarkup.h>
|
||||
+#include <glib.h>
|
||||
#include <ctype.h>
|
||||
#include "util.h"
|
||||
#include "../../config.h"
|
||||
--- src/common/xchat.h
|
||||
+++ src/common/xchat.h
|
||||
@@ -1,10 +1,6 @@
|
||||
#include "../../config.h"
|
||||
|
||||
-#include <glib/gslist.h>
|
||||
-#include <glib/glist.h>
|
||||
-#include <glib/gutils.h>
|
||||
-#include <glib/giochannel.h>
|
||||
-#include <glib/gstrfuncs.h>
|
||||
+#include <glib.h>
|
||||
#include <time.h> /* need time_t */
|
||||
|
||||
#ifndef XCHAT_H
|
@ -1,20 +0,0 @@
|
||||
--- 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,31 +0,0 @@
|
||||
# Template file for 'xchat'
|
||||
pkgname=xchat
|
||||
version=2.8.8
|
||||
revision=21
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config gdk-pixbuf-devel perl"
|
||||
makedepends="gtk+-devel libressl-devel dbus-glib-devel perl"
|
||||
configure_args=" --sysconfdir=/etc --enable-openssl --enable-dbus
|
||||
--disable-textfe --enable-ipv6 --enable-shm --enable-spell=static"
|
||||
short_desc="A GTK+ based IRC client"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
homepage="http://www.xchat.org/"
|
||||
license="GPL-2"
|
||||
distfiles="http://www.xchat.org/files/source/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=37b7afd87b5576e17f5dbdd0ed8c14004ac71b8c5430baff9a785bad8df0310b
|
||||
|
||||
LDFLAGS="-lgmodule-2.0"
|
||||
|
||||
pre_configure() {
|
||||
local perlflags=
|
||||
# Fix perl library path
|
||||
if [ "$CROSS_BUILD" ];then
|
||||
perlflags=$(perl -MExtUtils::Embed -e ldopts | sed \
|
||||
-e 's/-lgdbm //' \
|
||||
-e 's/-mtune=generic//' \
|
||||
-e "s#/usr/lib#${XBPS_CROSS_BASE}\0#")
|
||||
sed -i "s#PERL_LDFLAGS=#\0$perlflags#" configure
|
||||
sed -i "s#PERL_CFLAGS=#\0$CFLAGS#" configure
|
||||
fi
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user