Remove an unused patch/source file.

This commit is contained in:
Jason Tibbitts 2019-09-06 10:19:32 -05:00
parent 3bb902b4a2
commit 626ee093ec
2 changed files with 0 additions and 20 deletions

View File

@ -1,13 +0,0 @@
diff --git a/xs/t/03_point.t b/xs/t/03_point.t
index cb71f68..0cc58e1 100644
--- a/xs/t/03_point.t
+++ b/xs/t/03_point.t
@@ -44,7 +44,7 @@ ok !$point->coincides_with($point2), 'coincides_with';
{
my $line = Slic3r::Line->new([50,50], [125,-25]);
- is +Slic3r::Point->new(100,0)->distance_to_line($line), 0, 'distance_to_line()';
+ cmp_ok(abs(Slic3r::Point->new(100,0)->distance_to_line($line)), '<=', 4e-15, 'distance_to_line()');
}
{

View File

@ -20,13 +20,6 @@ Source0: https://github.com/prusa3d/PrusaSlicer/archive/version_2.1.0-rc.
Source1: %name.desktop
Source2: %name.appdata.xml
# A single test suite fails, but only on aarch64 and s390x, due to floating
# point rouding issues. This patch adds small epsilon (4e-15) to one
# comparison to work around this.
# We will conditionally apply this so it's a source file, not a patch.
# https://github.com/prusa3d/PrusaSlicer/issues/2461
Source10: patch-testsuite-epsilon
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: cereal-devel