openbsd-ports/geo/qlandkartegt/patches/patch-src_CCanvas_cpp
espie a5e2bcf412 fix where to find isinf/isnan so that this builds again.
(no need for a bump, didn't build before)
okay landry@
2017-07-08 10:34:14 +00:00

14 lines
338 B
Plaintext

$OpenBSD: patch-src_CCanvas_cpp,v 1.1 2017/07/08 10:34:14 espie Exp $
Index: src/CCanvas.cpp
--- src/CCanvas.cpp.orig
+++ src/CCanvas.cpp
@@ -77,6 +77,7 @@ QBrush CCanvas::brushBackYellow(QColor(0xff, 0xff, 0xc
#ifdef WIN32
#define isnan(x) _isnan(x)
#endif
+using std::isnan;
CCanvas::CCanvas(QWidget * parent)
: QWidget(parent)