aboutsummaryrefslogtreecommitdiff
path: root/mail/mimedefang/files
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2004-06-29 23:24:41 +0000
committerMartin Blapp <mbr@FreeBSD.org>2004-06-29 23:24:41 +0000
commit0c627eef3c1626ac25530e83749a2373a673698d (patch)
tree6f690abe45362859aceca76adab5f181987b4f44 /mail/mimedefang/files
parent32a2a150d0a076549bbbaf387f7bb9847bdc8092 (diff)
downloadports-0c627eef3c1626ac25530e83749a2373a673698d.tar.gz
ports-0c627eef3c1626ac25530e83749a2373a673698d.zip
Notes
Diffstat (limited to 'mail/mimedefang/files')
-rw-r--r--mail/mimedefang/files/patch-embperl.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/mimedefang/files/patch-embperl.c b/mail/mimedefang/files/patch-embperl.c
new file mode 100644
index 000000000000..2812e2658357
--- /dev/null
+++ b/mail/mimedefang/files/patch-embperl.c
@@ -0,0 +1,20 @@
+--- embperl.c.orig Wed Jun 30 00:57:57 2004
++++ embperl.c Wed Jun 30 01:01:55 2004
+@@ -26,6 +26,9 @@
+ char *argv[6];
+ int argc;
+
++#ifdef SAFE_EMBED_PERL
++ PL_perl_destruct_level = 1;
++#endif
+ if (my_perl != NULL) {
+ #ifdef SAFE_EMBED_PERL
+ perl_destruct(my_perl);
+@@ -46,7 +49,6 @@
+ #ifdef PERL_SET_CONTEXT
+ PERL_SET_CONTEXT(my_perl);
+ #endif
+- PL_perl_destruct_level = 1;
+ perl_construct(my_perl);
+ if (subFilter) {
+ argv[0] = "";