summaryrefslogtreecommitdiff
path: root/games-sports/torcs/files/torcs-1.3.6-gcc6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/torcs/files/torcs-1.3.6-gcc6.patch')
-rw-r--r--games-sports/torcs/files/torcs-1.3.6-gcc6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-sports/torcs/files/torcs-1.3.6-gcc6.patch b/games-sports/torcs/files/torcs-1.3.6-gcc6.patch
new file mode 100644
index 000000000000..6daf22a81b11
--- /dev/null
+++ b/games-sports/torcs/files/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
+
+