summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/gpac')
-rw-r--r--media-video/gpac/ChangeLog7
-rw-r--r--media-video/gpac/files/glx-define-prototype.patch12
-rw-r--r--media-video/gpac/gpac-0.4.5-r1.ebuild3
3 files changed, 20 insertions, 2 deletions
diff --git a/media-video/gpac/ChangeLog b/media-video/gpac/ChangeLog
index 7dbd2517d3de..63ca3d35b2d2 100644
--- a/media-video/gpac/ChangeLog
+++ b/media-video/gpac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/gpac
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.68 2009/12/19 11:16:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.69 2009/12/20 16:13:25 hwoarang Exp $
+
+ 20 Dec 2009; Markos Chandras <hwoarang@gentoo.org> gpac-0.4.5-r1.ebuild,
+ +files/glx-define-prototype.patch:
+ Apply patch to fix amd64 compilation issues. Stable on amd64 wrt bug
+ #297503
*gpac-0.4.5-r1 (19 Dec 2009)
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
+
diff --git a/media-video/gpac/gpac-0.4.5-r1.ebuild b/media-video/gpac/gpac-0.4.5-r1.ebuild
index 11ea5daebeac..961cd39294fa 100644
--- a/media-video/gpac/gpac-0.4.5-r1.ebuild
+++ b/media-video/gpac/gpac-0.4.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.5-r1.ebuild,v 1.1 2009/12/19 11:16:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.5-r1.ebuild,v 1.2 2009/12/20 16:13:25 hwoarang Exp $
inherit eutils wxwidgets flag-o-matic multilib toolchain-funcs
@@ -63,6 +63,7 @@ src_unpack() {
cd "${S}"
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+ epatch "${FILESDIR}"/glx-define-prototype.patch
sed -ie '/ldconfig / d' "${S}/Makefile"