summaryrefslogtreecommitdiff
path: root/mail/tpop3d/files/extra-patch-auth_perl.c
diff options
context:
space:
mode:
authorFrank J. Laszlo <laszlof@FreeBSD.org>2006-12-05 18:40:12 +0000
committerFrank J. Laszlo <laszlof@FreeBSD.org>2006-12-05 18:40:12 +0000
commitdf3589e28c809a071c408286a759962250e774df (patch)
tree7fa08bee80b9e2f88bf85d0fe887f9de20b755b1 /mail/tpop3d/files/extra-patch-auth_perl.c
parentUnbreak on FreeBSD < 6.0 (diff)
This update contains extra patch which is not approved by Chris Lightfoot
(the tpop3d author) as he is unreachable for a long time period. Indeed this patch may help people who have coredumps with auth-perl and multithreaded perl. Big thanks to George A Eliseeff <kuzmich at inbox.ru>. PR: ports/106365 Submitted by: Boris Kovalenko <boris@tagnet.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=178959
Diffstat (limited to 'mail/tpop3d/files/extra-patch-auth_perl.c')
-rw-r--r--mail/tpop3d/files/extra-patch-auth_perl.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/tpop3d/files/extra-patch-auth_perl.c b/mail/tpop3d/files/extra-patch-auth_perl.c
new file mode 100644
index 000000000000..37b8d8179f04
--- /dev/null
+++ b/mail/tpop3d/files/extra-patch-auth_perl.c
@@ -0,0 +1,16 @@
+--- auth_perl.c.orig Mon Aug 25 21:51:25 2003
++++ auth_perl.c Mon Dec 4 14:23:46 2006
+@@ -72,5 +72,5 @@
+
+ int auth_perl_init(void) {
+- dSP;
++// dSP;
+ int argc = 2;
+ char *argv[3] = {"auth_perl", "/dev/null", NULL};
+@@ -106,4 +106,6 @@
+ perl_parse(perl_interp, xs_init, argc, argv, 0);
+ perl_run(perl_interp);
++
++ dSP;
+
+ /* Try to execute the startup code. */