From f937e8d299561d4405ed46aca5d442405b13c4e8 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/patches/patch-ad | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 chat/irssi/patches/patch-ad (limited to 'chat/irssi/patches') 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