summaryrefslogtreecommitdiff
path: root/user/torcs/torcs-1.3.6-gcc6.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-24 01:15:24 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-24 01:15:24 +0000
commit6fb1b6516a1493d708b0cbad120d6a2bf1251b05 (patch)
tree73ed5401526559f7f38d8ccc28066904b4e4f834 /user/torcs/torcs-1.3.6-gcc6.patch
parent35d3464218da6f5ae5025fec65dd1caa08d31824 (diff)
downloadpackages-6fb1b6516a1493d708b0cbad120d6a2bf1251b05.tar.gz
packages-6fb1b6516a1493d708b0cbad120d6a2bf1251b05.tar.bz2
packages-6fb1b6516a1493d708b0cbad120d6a2bf1251b05.tar.xz
packages-6fb1b6516a1493d708b0cbad120d6a2bf1251b05.zip
user/torcs: new buggy package
Diffstat (limited to 'user/torcs/torcs-1.3.6-gcc6.patch')
-rw-r--r--user/torcs/torcs-1.3.6-gcc6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/torcs/torcs-1.3.6-gcc6.patch b/user/torcs/torcs-1.3.6-gcc6.patch
new file mode 100644
index 000000000..6daf22a81
--- /dev/null
+++ b/user/torcs/torcs-1.3.6-gcc6.patch
@@ -0,0 +1,11 @@
+--- a/src/drivers/olethros/geometry.cpp
++++ b/src/drivers/olethros/geometry.cpp
+@@ -27,6 +27,8 @@
+ #ifdef WIN32
+ #include <float.h>
+ #define isnan _isnan
++#elif __cplusplus >= 201103L
++using std::isnan;
+ #endif
+
+