pkgsrc/multimedia/sfml/patches/patch-include_SFML_Config.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

18 lines
418 B
C++

$NetBSD: patch-include_SFML_Config.hpp,v 1.1 2020/05/21 08:42:00 plunky Exp $
add NetBSD support
--- include/SFML/Config.hpp.orig 2018-10-15 19:41:39.000000000 +0000
+++ include/SFML/Config.hpp
@@ -86,6 +86,11 @@
// FreeBSD
#define SFML_SYSTEM_FREEBSD
+ #elif defined(__NetBSD__)
+
+ // NetBSD
+ #define SFML_SYSTEM_NETBSD
+
#elif defined(__OpenBSD__)
// OpenBSD