summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose/files/patch-src-recompiler-Sun-testmath.c
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2020-07-19 09:19:22 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2020-07-19 09:19:22 +0000
commitc7901a4b4e67862122bd87dc349ca53bd7a66b93 (patch)
treee1b750bb4f7aef436535d8eaa325e355da0a5081 /emulators/virtualbox-ose/files/patch-src-recompiler-Sun-testmath.c
parentgraphics/wdune: update 1.921 -> 1.926 (diff)
- Update VirtualBox ports to 5.2.44
- Adapt and regenerate patches - Reduce differences in patch-src_VBox_Devices_PC_vbox-cpuhotplug.dsl [1] Patch based on one provided by Mario Lobo <lobo@bsd.com.br>. Many thanks to people who provided ideas and suggetions in the PR and review. PR: 244212 Submitted by: Nikita Stepanov <nikitastepan0v@bk.ru> Reviewed by: kevans [1] Tested by: lwshu Approved by: ports-secteam (joneum) MFH: 2020Q3 Security: 1e7b316b-c6a8-11ea-a7d5-001999f8d30b Differential Revision: https://reviews.freebsd.org/D25496
Diffstat (limited to '')
-rw-r--r--emulators/virtualbox-ose/files/patch-src-recompiler-Sun-testmath.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/emulators/virtualbox-ose/files/patch-src-recompiler-Sun-testmath.c b/emulators/virtualbox-ose/files/patch-src-recompiler-Sun-testmath.c
index c4678be05189..5118238bd7d7 100644
--- a/emulators/virtualbox-ose/files/patch-src-recompiler-Sun-testmath.c
+++ b/emulators/virtualbox-ose/files/patch-src-recompiler-Sun-testmath.c
@@ -1,6 +1,6 @@
---- src/recompiler/Sun/testmath.c.orig 2011-01-14 21:15:07.000000000 +0100
-+++ src/recompiler/Sun/testmath.c 2011-08-05 13:54:49.000000000 +0200
-@@ -261,8 +261,6 @@
+--- src/recompiler/Sun/testmath.c.orig 2020-05-13 19:46:49 UTC
++++ src/recompiler/Sun/testmath.c
+@@ -273,8 +273,6 @@ extern int testmath(void)
#endif
set_cw(0x27f);
@@ -9,14 +9,14 @@
CHECK(remainderl(1.0L, 1.0L), 0.0);
CHECK(remainderl(1.0L, 1.5L), -0.5);
CHECK(remainderl(42.0L, 34.25L), 7.75);
-@@ -315,10 +313,6 @@
+@@ -341,10 +339,6 @@ extern int testmath(void)
+
CHECK(tanl(0.0L), 0.0);
CHECK(tanl(0.7853981633974483096156608458198757L), 1.0);
-
+-
- CHECK(powl(0.0, 0.0), 1.0);
- CHECK(powl(2.0, 2.0), 4.0);
- CHECK(powl(3.0, 3.0), 27.0);
--
+
return cErrors;
}
-