mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- use modern OPTION syntax - remove useless PERL_LEVEL check (meanwhile always >= 501000) - regenerate patch files so they match the `make makepatch' naming schema - add LICENSE (GPLv2) - remove BROKEN ... with hat apache@
15 lines
496 B
C
15 lines
496 B
C
Author: Niko Tyni <ntyni@debian.org>
|
|
Description: Closes: #537996
|
|
The SvIV call crashes in on Perl 5.10.0 when warnings are
|
|
enabled and the value is undef.
|
|
--- src/speedy_perl.c
|
|
+++ src/speedy_perl.c
|
|
@@ -818,7 +818,7 @@
|
|
my_call_sv(get_perlvar(&PERLVAR_RESET_GLOBALS));
|
|
|
|
/* Copy option values in from the perl vars */
|
|
- if (SvIV(PERLVAL_OPTS_CHANGED)) {
|
|
+ if (SvTRUE(PERLVAL_OPTS_CHANGED)) {
|
|
int i;
|
|
for (i = 0; i < SPEEDY_NUMOPTS; ++i) {
|
|
OptRec *o = speedy_optdefs + i;
|