pkgsrc/multimedia/sfml/patches/patch-src_SFML_Window_SensorImpl.hpp
plunky 262e48de92 Added SFML-2.5.1 from pkgsrc-wip
SFML is a free multimedia C++ API that provides you low and high level access to
graphics, input, audio, etc.

This package contains the C++ language bindings of SFML.
2020-05-21 08:42:00 +00:00

15 lines
567 B
C++

$NetBSD: patch-src_SFML_Window_SensorImpl.hpp,v 1.1 2020/05/21 08:42:00 plunky Exp $
add NetBSD support
--- src/SFML/Window/SensorImpl.hpp.orig 2018-10-15 19:41:39.000000000 +0000
+++ src/SFML/Window/SensorImpl.hpp
@@ -35,7 +35,7 @@
#include <SFML/Window/Win32/SensorImpl.hpp>
-#elif defined(SFML_SYSTEM_LINUX) || defined(SFML_SYSTEM_FREEBSD) || defined(SFML_SYSTEM_OPENBSD)
+#elif defined(SFML_SYSTEM_LINUX) || defined(SFML_SYSTEM_FREEBSD) || defined(SFML_SYSTEM_NETBSD) || defined(SFML_SYSTEM_OPENBSD)
#include <SFML/Window/Unix/SensorImpl.hpp>