pkgsrc-wip/sfml+/patches/patch-include_SFML_Config.hpp
Blue Rats a74c35c5e4 Import sfml+-1.6 as wip/sfml+.
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.
2012-10-03 15:05:59 +00:00

18 lines
423 B
C++

$NetBSD: patch-include_SFML_Config.hpp,v 1.1 2012/10/03 15:05:59 othyro Exp $
Adds NetBSD support.
--- include/SFML/Config.hpp.orig 2010-01-27 13:54:01.000000000 +0000
+++ include/SFML/Config.hpp
@@ -54,6 +54,11 @@
// FreeBSD
#define SFML_SYSTEM_FREEBSD
+#elif defined(__NetBSD__) || defined(__NetBSD_kernel__)
+
+ // NetBSD
+ #define SFML_SYSTEM_NETBSD
+
#else
// Unsupported system