~ruther/guix-local

ref: 1e84ad052d63250d5a2e0e78d0097068e7d3461f guix-local/gnu/packages/patches/torcs-isnan.patch -rw-r--r-- 631 bytes
1e84ad05 — Murilo gnu: hyprland-protocols: Update to 0.6.2. 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Source: https://src.fedoraproject.org/rpms/torcs/raw/rawhide/f/torcs-1.3.7-isnan.patch
Upstream-status: https://sourceforge.net/p/torcs/mailman/torcs-devel/thread/0bd466b7-e158-471b-13ad-504167587d01%40embecosm.com/#msg35836767

diff -up torcs-1.3.7/src/drivers/olethros/geometry.cpp.orig torcs-1.3.7/src/drivers/olethros/geometry.cpp
--- torcs-1.3.7/src/drivers/olethros/geometry.cpp.orig	2016-06-07 19:49:11.347896827 +0100
+++ torcs-1.3.7/src/drivers/olethros/geometry.cpp	2016-06-07 19:49:46.532894257 +0100
@@ -27,6 +27,8 @@
 #ifdef WIN32
 #include <float.h>
 #define isnan _isnan
+#else
+#define isnan std::isnan
 #endif