From 46af3cb3bd18e78b9d1b91c11481985a192ead93 Mon Sep 17 00:00:00 2001 From: tonnerre Date: Thu, 4 Dec 2008 12:53:55 +0000 Subject: Make irssi actually work with a threaded Perl 5.10. (Now, the PerlIO mutex must be initialized before trying to fiddle with the interpreter.) --- chat/irssi/Makefile | 4 ++-- chat/irssi/distinfo | 3 ++- chat/irssi/patches/patch-ad | 13 +++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 chat/irssi/patches/patch-ad (limited to 'chat') diff --git a/chat/irssi/Makefile b/chat/irssi/Makefile index d8c5f5db752..9dad9c2d3ed 100644 --- a/chat/irssi/Makefile +++ b/chat/irssi/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.49 2007/10/28 20:18:47 adrianp Exp $ +# $NetBSD: Makefile,v 1.50 2008/12/04 12:53:55 tonnerre Exp $ DISTNAME= ${IRSSI_DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= chat MASTER_SITES= http://www.irssi.org/files/ EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX} diff --git a/chat/irssi/distinfo b/chat/irssi/distinfo index 1da9c986633..00056ad4d87 100644 --- a/chat/irssi/distinfo +++ b/chat/irssi/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.27 2007/10/28 13:06:30 adrianp Exp $ +$NetBSD: distinfo,v 1.28 2008/12/04 12:53:55 tonnerre Exp $ SHA1 (irssi-0.8.12.tar.bz2) = 00ecca04766c51feef057b2327f67166be473fa3 RMD160 (irssi-0.8.12.tar.bz2) = 0588e6c2df0425c4f36bd84c1621d9ad170b6a81 @@ -6,6 +6,7 @@ Size (irssi-0.8.12.tar.bz2) = 935918 bytes SHA1 (patch-aa) = 3333b23ae2b2c3f8f3ef246502badf1b263103c6 SHA1 (patch-ab) = 287fd013349b3b6761d08f69ff8aeb8820d65b8c SHA1 (patch-ac) = c1bb6ae10be8b52a844f3d7c1c725cd4cc6db246 +SHA1 (patch-ad) = 278e45b6cb28966f1bf1a5dfea329b164cd6ebed SHA1 (patch-ae) = 975777ae62374aa50ad76e83ed857927e8f3cbe8 SHA1 (patch-af) = 47b399f9549ef9772f40bd5e7d27344bffe1cebe SHA1 (patch-ag) = 4716b80fa1db0edb3e68b527396fcce03de06f47 diff --git a/chat/irssi/patches/patch-ad b/chat/irssi/patches/patch-ad new file mode 100644 index 00000000000..0ae0cb01f7c --- /dev/null +++ b/chat/irssi/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.8 2008/12/04 12:53:55 tonnerre Exp $ + +--- src/perl/perl-core.c.orig 2008-12-04 13:45:24.000000000 +0100 ++++ src/perl/perl-core.c +@@ -452,6 +452,8 @@ void perl_core_init(void) + perl_signals_init(); + signal_add_last("script error", (SIGNAL_FUNC) sig_script_error); + ++ PERLIO_INIT; ++ + perl_scripts_init(); + + if (irssi_init_finished) -- cgit v1.2.3