summaryrefslogtreecommitdiffstats
path: root/graphics/vulkan-sdk/cmath.patch
diff options
context:
space:
mode:
author orbea <orbea@riseup.net>2019-12-16 16:51:52 -0800
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-21 11:02:49 +0700
commitb2500874053001c87668b8afa088713ee01ade92 (patch)
tree9fb45ba46286cbbb21c377b17575d1f730f82dd6 /graphics/vulkan-sdk/cmath.patch
parentfee8438e75a27f784df80badab6f8ff4718efb91 (diff)
downloadslackbuilds-b2500874053001c87668b8afa088713ee01ade92.tar.gz
slackbuilds-b2500874053001c87668b8afa088713ee01ade92.tar.xz
graphics/vulkan-sdk: Updated for version 1.1.126.0.
Signed-off-by: orbea <orbea@riseup.net>
Diffstat (limited to 'graphics/vulkan-sdk/cmath.patch')
-rw-r--r--graphics/vulkan-sdk/cmath.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/graphics/vulkan-sdk/cmath.patch b/graphics/vulkan-sdk/cmath.patch
deleted file mode 100644
index 1060fe600d..0000000000
--- a/graphics/vulkan-sdk/cmath.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 80ddc06b39dd1164733b69b68231b497f51840ad Mon Sep 17 00:00:00 2001
-From: orbea <orbea@riseup.net>
-Date: Tue, 10 Sep 2019 10:33:19 -0700
-Subject: [PATCH] Fix build with gcc5.
-
-v2: Replace all instances of math.h with cmath.
----
- layers/core_validation.cpp | 1 -
- layers/parameter_validation_utils.cpp | 2 +-
- tests/vktestframework.cpp | 2 +-
- 3 files changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
-index 4c3da8b5f..359c21e32 100644
---- a/layers/core_validation.cpp
-+++ b/layers/core_validation.cpp
-@@ -44,7 +44,6 @@
- #include <cmath>
- #include <iostream>
- #include <list>
--#include <math.h>
- #include <map>
- #include <memory>
- #include <mutex>
-diff --git a/layers/parameter_validation_utils.cpp b/layers/parameter_validation_utils.cpp
-index 1559ac455..6e67586f5 100644
---- a/layers/parameter_validation_utils.cpp
-+++ b/layers/parameter_validation_utils.cpp
-@@ -21,7 +21,7 @@
-
- #define NOMINMAX
-
--#include <math.h>
-+#include <cmath>
-
- #include "chassis.h"
- #include "stateless_validation.h"
-diff --git a/tests/vktestframework.cpp b/tests/vktestframework.cpp
-index 0d9dd584a..ad0338517 100644
---- a/tests/vktestframework.cpp
-+++ b/tests/vktestframework.cpp
-@@ -38,7 +38,7 @@
- #pragma warning(pop)
- #endif
- #include <limits.h>
--#include <math.h>
-+#include <cmath>
-
- #if defined(PATH_MAX) && !defined(MAX_PATH)
- #define MAX_PATH PATH_MAX