It unbreaks the build with ports-gcc-8. While here, fix Perl tests that still assumes that '.' is in @INC. Maintainer timeout. OK sthen@
14 lines
365 B
Plaintext
14 lines
365 B
Plaintext
$OpenBSD: patch-tests_st_fileformats_pl,v 1.1 2019/04/28 01:30:18 cwen Exp $
|
|
|
|
Fix test with Perl 5.26+ (no . in @INC)
|
|
|
|
Index: tests/st_fileformats.pl
|
|
--- tests/st_fileformats.pl.orig
|
|
+++ tests/st_fileformats.pl
|
|
@@ -1,4 +1,5 @@
|
|
#!/usr/bin/perl -w
|
|
+BEGIN { push @INC, '.'; }
|
|
use STSupport;
|
|
|
|
use constant EMPTY => {e => "none", Z => "", K => "", "-check" => ""} ;
|