summaryrefslogtreecommitdiff
path: root/chat/irssi/patches
diff options
context:
space:
mode:
authortonnerre <tonnerre@pkgsrc.org>2008-12-04 12:53:55 +0000
committertonnerre <tonnerre@pkgsrc.org>2008-12-04 12:53:55 +0000
commitf937e8d299561d4405ed46aca5d442405b13c4e8 (patch)
tree2532bd51d7a67fa7cac687d7e123bf32ed286663 /chat/irssi/patches
parenta382dbaddb59b62a65aa52250bf23cc7bb683906 (diff)
downloadpkgsrc-f937e8d299561d4405ed46aca5d442405b13c4e8.tar.gz
Make irssi actually work with a threaded Perl 5.10. (Now, the PerlIO mutex
must be initialized before trying to fiddle with the interpreter.)
Diffstat (limited to 'chat/irssi/patches')
-rw-r--r--chat/irssi/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
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)