ports/cad/calculix-ccx/files/patch-frdcheck.pl
rsmith cc850c375b cad/calculix-ccx: Update to 2.22
Use {DOCS,EXAMPLES}_DISTFILES instead of testing PORT_OPTIONS.
Add do-test target.
Add LICENSE_FILE.

PR:		282051
Approved by:	submitter is maintainer
2024-10-21 07:06:25 +02:00

17 lines
444 B
Raku

--- ../test/frdcheck.pl.orig 2024-10-18 20:23:04.531136000 +0200
+++ ../test/frdcheck.pl 2024-10-18 20:23:22.184771000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/local/bin/perl
#
# usage: frdcheck.pl file
@@ -128,7 +128,7 @@
}
-if($maxerror2>0.){
+if($maxerror2>0.05){
$maxerror2=100.*$maxerror2;
printf "deviation in file $file.frd\n";
printf "line: %d reference value: %e value: %e \n",$line2,$valueref2,$value2;