summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-12-20 16:13:25 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-12-20 16:13:25 +0000
commit624ca1cd103c860ed3ea646535f7f939ac481fe0 (patch)
tree7eba96ef205f5ec565e13556dcaeda9c67a94d94 /media-video/gpac/files
parentalpha/ia64/m68k/s390/sh/sparc stable wrt #295066 (diff)
downloadgentoo-2-624ca1cd103c860ed3ea646535f7f939ac481fe0.tar.gz
gentoo-2-624ca1cd103c860ed3ea646535f7f939ac481fe0.tar.bz2
gentoo-2-624ca1cd103c860ed3ea646535f7f939ac481fe0.zip
Apply patch to fix amd64 compilation issues. Stable on amd64 wrt bug #297503
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'media-video/gpac/files')
-rw-r--r--media-video/gpac/files/glx-define-prototype.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-video/gpac/files/glx-define-prototype.patch b/media-video/gpac/files/glx-define-prototype.patch
new file mode 100644
index 000000000000..f62781d49b1b
--- /dev/null
+++ b/media-video/gpac/files/glx-define-prototype.patch
@@ -0,0 +1,12 @@
+Index: work/gpac/src/compositor/visual_manager_3d_gl.c
+===================================================================
+--- work.orig/gpac/src/compositor/visual_manager_3d_gl.c
++++ work/gpac/src/compositor/visual_manager_3d_gl.c
+@@ -70,6 +70,7 @@ void gf_sc_load_opengl_extensions(GF_Com
+ #elif defined (WIN32)
+ #define GET_GLFUN(__name) (PFNGLARBMULTITEXTUREPROC) wglGetProcAddress(__name)
+ #else
++extern void (*glXGetProcAddress(const GLubyte *procname))( void );
+ #define GET_GLFUN(__name) (PFNGLARBMULTITEXTUREPROC) glXGetProcAddress(__name)
+ #endif
+