Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 568166 Details for
Bug 672634
media-libs/allegro-5.2.4.0 : /.../xglx_config.c:495:42: error: glXCreateContextAttribsARB undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adjusted for 4.4.2
fix-compilation-with-Mesa-18.2.5-and-later-4.4.2.patch (text/plain), 1.57 KB, created by
Cyp
on 2019-03-08 09:17:39 UTC
(
hide
)
Description:
adjusted for 4.4.2
Filename:
MIME Type:
Creator:
Cyp
Created:
2019-03-08 09:17:39 UTC
Size:
1.57 KB
patch
obsolete
>From a40d30e21802ecf5c9382cf34af9b01bd3781e47 Mon Sep 17 00:00:00 2001 >From: Sebastian Krzyszkowiak <dos@dosowisko.net> >Date: Fri, 7 Dec 2018 03:23:44 +0100 >Subject: [PATCH] opengl: fix compilation with Mesa 18.2.5 and later > >Mesa headers have been updated and changed some defines that Allegro >is hackily relying on. > >https://gitlab.freedesktop.org/mesa/mesa/commit/f7d42ee7d319256608ad60778f6787c140badada >--- > include/allegro5/allegro_opengl.h | 4 ++++ > include/allegro5/opengl/GLext/glx_ext_defs.h | 2 ++ > 2 files changed, 6 insertions(+) > >diff --git a/include/allegro5/allegro_opengl.h b/include/allegro5/allegro_opengl.h >index 0f86a6768..652dd024e 100644 >--- a/addons/allegrogl/include/alleggl.h >+++ b/addons/allegrogl/include/alleggl.h >@@ -103,10 +103,14 @@ > > /* HACK: Prevent both Mesa and SGI's broken headers from screwing us */ > #define __glext_h_ >+#define __gl_glext_h_ > #define __glxext_h_ >+#define __glx_glxext_h_ > #include <GL/gl.h> > #undef __glext_h_ >+#undef __gl_glext_h_ > #undef __glxext_h_ >+#undef __glx_glxext_h_ > > #endif /* ALLEGRO_MACOSX */ > >diff --git a/include/allegro5/opengl/GLext/glx_ext_defs.h b/include/allegro5/opengl/GLext/glx_ext_defs.h >index 49c502091..fba8aea5d 100644 >--- a/addons/allegrogl/include/allegrogl/GLext/glx_ext_defs.h >+++ b/addons/allegrogl/include/allegrogl/GLext/glx_ext_defs.h >@@ -1,7 +1,9 @@ > /* HACK: Prevent both Mesa and SGI's broken headers from screwing us */ > #define __glxext_h_ >+#define __glx_glxext_h_ > #include <GL/glx.h> > #undef __glxext_h_ >+#undef __glx_glxext_h_ > > #ifndef GLX_VERSION_1_3 > #define _ALLEGRO_GLX_VERSION_1_3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 672634
:
557168
|
557170
|
557172
|
557174
|
557176
|
557178
|
557180
| 568166