From 6fb1b6516a1493d708b0cbad120d6a2bf1251b05 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 24 Oct 2018 01:15:24 +0000 Subject: user/torcs: new buggy package --- user/torcs/torcs-1.3.6-gcc6.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 user/torcs/torcs-1.3.6-gcc6.patch (limited to 'user/torcs/torcs-1.3.6-gcc6.patch') 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 + #define isnan _isnan ++#elif __cplusplus >= 201103L ++using std::isnan; + #endif + + -- cgit v1.2.3-60-g2f50