pkgsrc/multimedia/sfml/patches/patch-include_SFML_OpenGL.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
534 B
C++

$NetBSD: patch-include_SFML_OpenGL.hpp,v 1.1 2020/05/21 08:42:00 plunky Exp $
add NetBSD support
--- include/SFML/OpenGL.hpp.orig 2018-10-15 19:41:39.000000000 +0000
+++ include/SFML/OpenGL.hpp
@@ -45,7 +45,7 @@
#include <GL/gl.h>
-#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)
#if defined(SFML_OPENGL_ES)
#include <GLES/gl.h>