svn commit: r478869 - in head/irc/hexchat: . files
Steve Wills
swills at FreeBSD.org
Mon Sep 3 13:12:29 UTC 2018
Author: swills
Date: Mon Sep 3 13:12:27 2018
New Revision: 478869
URL: https://svnweb.freebsd.org/changeset/ports/478869
Log:
irc/hexchat: update to 2.14.2
PR: 231061
Submitted by: Piotr Kubaj <pkubaj at anongoth.pl> (maintainer)
Added:
head/irc/hexchat/files/patch-plugins_perl_meson.build (contents, props changed)
Modified:
head/irc/hexchat/Makefile (contents, props changed)
head/irc/hexchat/distinfo (contents, props changed)
head/irc/hexchat/files/patch-meson__options.txt (contents, props changed)
head/irc/hexchat/files/patch-src__common__server.c (contents, props changed)
Modified: head/irc/hexchat/Makefile
==============================================================================
--- head/irc/hexchat/Makefile Mon Sep 3 13:02:21 2018 (r478868)
+++ head/irc/hexchat/Makefile Mon Sep 3 13:12:27 2018 (r478869)
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= hexchat
-PORTVERSION= 2.14.1
+PORTVERSION= 2.14.2
DISTVERSIONPREFIX= v
-PORTREVISION= 1
CATEGORIES= irc gnome ipv6
MAINTAINER= pkubaj at anongoth.pl
@@ -20,8 +19,8 @@ LIB_DEPENDS= libproxy.so:net/libproxy \
libfreetype.so:print/freetype2
RUN_DEPENDS= ${LOCALBASE}/share/xml/iso-codes/iso_639.xml:misc/iso-codes
-USES= meson ninja desktop-file-utils libtool pkgconfig ssl shebangfix \
- gettext-tools
+USES= desktop-file-utils gettext-tools gnome libtool meson ninja \
+ pkgconfig shebangfix ssl
USE_GNOME= cairo gtk20 intltool libxml2
USE_XORG= x11
USE_GITHUB= yes
@@ -78,6 +77,9 @@ SYSINFO_MESON_TRUE= with-sysinfo
post-patch:
@${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \
${WRKSRC}/src/common/server.c
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
+ -e 's|%%PERL_VER%%|${PERL_VER}|g' \
+ ${WRKSRC}/plugins/perl/meson.build
post-install:
${LN} -sf ../share/icons/hicolor/48x48/apps/${PORTNAME}.png \
Modified: head/irc/hexchat/distinfo
==============================================================================
--- head/irc/hexchat/distinfo Mon Sep 3 13:02:21 2018 (r478868)
+++ head/irc/hexchat/distinfo Mon Sep 3 13:12:27 2018 (r478869)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1521168316
-SHA256 (hexchat-hexchat-v2.14.1_GH0.tar.gz) = fcf96f54720f5284b8ac52964e7a5e406893069fc332535afa724f7d7d6a6a81
-SIZE (hexchat-hexchat-v2.14.1_GH0.tar.gz) = 2748286
+TIMESTAMP = 1535716329
+SHA256 (hexchat-hexchat-v2.14.2_GH0.tar.gz) = 4f2c2137020913513ea559f788c41039ca6230764d8158862d5d1ee8785592d9
+SIZE (hexchat-hexchat-v2.14.2_GH0.tar.gz) = 2759172
Modified: head/irc/hexchat/files/patch-meson__options.txt
==============================================================================
--- head/irc/hexchat/files/patch-meson__options.txt Mon Sep 3 13:02:21 2018 (r478868)
+++ head/irc/hexchat/files/patch-meson__options.txt Mon Sep 3 13:12:27 2018 (r478869)
@@ -1,6 +1,6 @@
---- meson_options.txt.orig 2018-03-14 02:26:31 UTC
+--- meson_options.txt.orig 2018-08-29 16:41:08 UTC
+++ meson_options.txt
-@@ -39,7 +39,7 @@ option('with-exec', type: 'boolean',
+@@ -42,7 +42,7 @@ option('with-exec', type: 'boolean',
option('with-fishlim', type: 'boolean',
description: 'Fish encryption plugin, requires openssl'
)
@@ -8,4 +8,4 @@
+option('with-lua', type: 'string',
description: 'Lua scripting plugin, value is pkg-config name to use or "false"'
)
- option('with-perl', type: 'boolean',
+ option('with-perl', type: 'string', value: 'perl',
Added: head/irc/hexchat/files/patch-plugins_perl_meson.build
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/hexchat/files/patch-plugins_perl_meson.build Mon Sep 3 13:12:27 2018 (r478869)
@@ -0,0 +1,11 @@
+--- plugins/perl/meson.build.orig 2018-08-29 16:41:08 UTC
++++ plugins/perl/meson.build
+@@ -60,7 +60,7 @@ endforeach
+ perl_cflags += [
+ # Perl has its own 'config.h' that we must override
+ # TODO: Just rename ours to something more unique.
+- '-include', meson.build_root() + '/config.h'
++ '-include', meson.build_root() + '/config.h', '-I%%PREFIX%%/lib/perl5/%%PERL_VER%%/mach/CORE', '-L%%PREFIX%%/lib/perl5/%%PERL_VER%%/mach/CORE', '-lperl'
+ ]
+
+ if not cc.links('''
Modified: head/irc/hexchat/files/patch-src__common__server.c
==============================================================================
--- head/irc/hexchat/files/patch-src__common__server.c Mon Sep 3 13:02:21 2018 (r478868)
+++ head/irc/hexchat/files/patch-src__common__server.c Mon Sep 3 13:12:27 2018 (r478869)
@@ -1,9 +1,9 @@
---- src/common/server.c.orig 2018-03-14 02:26:31 UTC
+--- src/common/server.c.orig 2018-08-29 16:41:08 UTC
+++ src/common/server.c
-@@ -749,7 +749,7 @@ server_connect_success (server *serv)
+@@ -748,7 +748,7 @@ server_connect_success (server *serv)
+
/* it'll be a memory leak, if connection isn't terminated by
server_cleanup() */
- serv->ssl = _SSL_socket (serv->ctx, serv->sok);
- if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, NULL)))
+ if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, "%%CA_BUNDLE%%")))
{
More information about the svn-ports-head
mailing list