freebsd-ports/lang/perl5/files/patch-mg.c
Anton Berezin 5a1e2b69e5 Make perl's configure be aware of gcc command line syntax change from
-Acpu(i386) to -Acpu=i386 and similar.

The patch is from Perlland:
http://archive.develooper.com/perl5-porters@perl.org/msg79350.html

While at it, add $ FreeBSD $ to the rest of the patches.

Reported by:	kuriyama
2002-11-01 14:43:46 +00:00

14 lines
316 B
C

$FreeBSD$
--- mg.c.orig Tue Oct 29 16:24:52 2002
+++ mg.c Tue Oct 29 16:32:26 2002
@@ -562,6 +562,8 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
(void)SvOK_off(sv);
else if (PL_in_eval)
sv_setiv(sv, PL_in_eval & ~(EVAL_INREQUIRE));
+ else
+ sv_setiv(sv, 0);
}
break;
case '\024': /* ^T */