[packages/ufoai] define symbol not present in modern(?) GL/glext.h
atler
atler at pld-linux.org
Wed Nov 26 14:50:12 CET 2025
commit 06cd1c653e276e4d25a81e6bf72f6e52c1d39782
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Nov 26 14:47:14 2025 +0100
define symbol not present in modern(?) GL/glext.h
glext-define.patch | 13 +++++++++++++
ufoai.spec | 2 ++
2 files changed, 15 insertions(+)
---
diff --git a/ufoai.spec b/ufoai.spec
index 14294a0..97936c7 100644
--- a/ufoai.spec
+++ b/ufoai.spec
@@ -10,6 +10,7 @@ Source0: http://downloads.sourceforge.net/ufoai/%{name}-%{version}-source.tar.bz
Source1: %{name}.desktop
Patch0: %{name}-link.patch
Patch1: %{name}-libpng15.patch
+Patch2: glext-define.patch
URL: http://ufoai.sourceforge.net/
BuildRequires: OpenAL-devel
BuildRequires: OpenGL-GLU-devel
@@ -79,6 +80,7 @@ darmo.
%setup -q -n %{name}-%{version}-source
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
# needed to build properly
mkdir base
diff --git a/glext-define.patch b/glext-define.patch
new file mode 100644
index 0000000..0206bad
--- /dev/null
+++ b/glext-define.patch
@@ -0,0 +1,13 @@
+--- ufoai-2.3.1-source/src/client/renderer/r_gl.h.orig 2010-11-29 17:46:35.000000000 +0100
++++ ufoai-2.3.1-source/src/client/renderer/r_gl.h 2025-11-26 14:26:04.725562012 +0100
+@@ -28,6 +28,10 @@
+
+ #include <SDL_opengl.h>
+
++#ifndef GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT
++#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8
++#endif
++
+ /* internally defined convenience constant */
+ #define GL_TANGENT_ARRAY -1
+ #define GL_NEXT_VERTEX_ARRAY -2
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ufoai.git/commitdiff/83b11dba8909f0632a4aa2432f0e46a869c3d42b
More information about the pld-cvs-commit
mailing list