From 1945b0568f5b09991585d4d6b1f7a5f976d25e2a Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Tue, 4 Nov 2025 14:27:22 +0100 Subject: games/fs2open: update to 24.2.0 and unbreak --- .../patch-code_graphics_opengl_gropenglopenxr.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp (limited to 'games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp') diff --git a/games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp b/games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp new file mode 100644 index 000000000000..0d633841388b --- /dev/null +++ b/games/fs2open/files/patch-code_graphics_opengl_gropenglopenxr.cpp @@ -0,0 +1,20 @@ +--- code/graphics/opengl/gropenglopenxr.cpp.orig 2025-11-04 13:07:36 UTC ++++ code/graphics/opengl/gropenglopenxr.cpp +@@ -21,7 +21,7 @@ + #include "graphics/opengl/ShaderProgram.h" + #include "osapi/osapi.h" + +-#if defined __APPLE_CC__ ++#if defined __APPLE_CC__ || defined __FreeBSD__ + + //Not supported + +@@ -38,7 +38,7 @@ + + #include + +-#ifndef __APPLE_CC__ ++#if !defined __APPLE_CC__ && !defined __FreeBSD__ + + //SETUP FUNCTIONS OGL + SCP_vector gr_opengl_openxr_get_extensions() { -- cgit v1.2.3