summaryrefslogtreecommitdiffstats
path: root/graphics/Pixie/Pixie.patch
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-05 02:27:00 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-05 08:52:32 +0700
commit11872f9f213da332718dd9a948ef855bd6ffcfeb (patch)
tree546f13f88f2437fe6e88d4b17157e30d7837932d /graphics/Pixie/Pixie.patch
parent04be6b5068f52198e43a42b6a9b48abe7df4476a (diff)
downloadslackbuilds-11872f9f213da332718dd9a948ef855bd6ffcfeb.tar.gz
slackbuilds-11872f9f213da332718dd9a948ef855bd6ffcfeb.tar.xz
graphics/Pixie: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/Pixie/Pixie.patch')
-rw-r--r--graphics/Pixie/Pixie.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/graphics/Pixie/Pixie.patch b/graphics/Pixie/Pixie.patch
new file mode 100644
index 0000000000..c434175d95
--- /dev/null
+++ b/graphics/Pixie/Pixie.patch
@@ -0,0 +1,48 @@
+--- Pixie/src/common/mathSpec.h.orig 2017-07-05 02:13:02.301256099 +0700
++++ Pixie/src/common/mathSpec.h 2017-07-05 02:12:40.349255850 +0700
+@@ -7,6 +7,9 @@
+
+
+
++#define min(a,b) ((a)<(b)?(a):(b))
++#define max(a,b) ((a)>(b)?(a):(b))
++
+ inline void initv(SCALAR_TYPE *r,const SCALAR_TYPE x) {
+ r[0] = x;
+ r[1] = x;
+--- Pixie/src/common/containers.h.orig 2017-07-05 02:14:23.367257020 +0700
++++ Pixie/src/common/containers.h 2017-07-05 02:15:14.528257601 +0700
+@@ -50,7 +50,8 @@
+
+
+
+-
++#define min(a,b) ((a)<(b)?(a):(b))
++#define max(a,b) ((a)>(b)?(a):(b))
+
+ ///////////////////////////////////////////////////////////////////////
+ // Class : CDictionary
+--- Pixie/src/ri/memory.h.orig 2017-07-05 02:18:00.590259487 +0700
++++ Pixie/src/ri/memory.h 2017-07-05 02:18:11.143259607 +0700
+@@ -36,6 +36,9 @@
+
+ #include <string.h>
+
++#define min(a,b) ((a)<(b)?(a):(b))
++#define max(a,b) ((a)>(b)?(a):(b))
++
+ ///////////////////////////////////////////////////////////////////////
+ // Class : CMemPage
+ // Description : This class coltains memory that's allocated on the fly
+--- Pixie/src/ri/occlusion.h.orig 2017-07-05 02:23:25.745263181 +0700
++++ Pixie/src/ri/occlusion.h 2017-07-05 02:23:35.920263297 +0700
+@@ -34,6 +34,9 @@
+ #include "common/global.h"
+ #include "common/os.h"
+
++#define min(a,b) ((a)<(b)?(a):(b))
++#define max(a,b) ((a)>(b)?(a):(b))
++
+ ///////////////////////////////////////////////////////////////////////
+ // Class : COcclusionCuller
+ // Description : The occlusion culler class