summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Rune Jensen <arj@gentoo.org>2005-03-01 22:19:19 +0000
committerAnders Rune Jensen <arj@gentoo.org>2005-03-01 22:19:19 +0000
commit984c896b5bf4a3e9d35dfd0a1e31fe2c33a78691 (patch)
treeec89a778ae1a72dbf2dcf075dc13b7d2e9dd4623 /media-video/mmsv2
parentold (diff)
downloadgentoo-2-984c896b5bf4a3e9d35dfd0a1e31fe2c33a78691.tar.gz
gentoo-2-984c896b5bf4a3e9d35dfd0a1e31fe2c33a78691.tar.bz2
gentoo-2-984c896b5bf4a3e9d35dfd0a1e31fe2c33a78691.zip
fix
(Portage version: 2.0.51-r15)
Diffstat (limited to 'media-video/mmsv2')
-rw-r--r--media-video/mmsv2/ChangeLog7
-rw-r--r--media-video/mmsv2/files/vgagl-compile-fix28
-rw-r--r--media-video/mmsv2/mmsv2-1.0.ebuild4
3 files changed, 36 insertions, 3 deletions
diff --git a/media-video/mmsv2/ChangeLog b/media-video/mmsv2/ChangeLog
index 5c2db119e361..2c412018d974 100644
--- a/media-video/mmsv2/ChangeLog
+++ b/media-video/mmsv2/ChangeLog
@@ -1,8 +1,11 @@
# ChangeLog for media-video/mmsv2
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mmsv2/ChangeLog,v 1.3 2005/01/24 01:58:53 arj Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mmsv2/ChangeLog,v 1.4 2005/03/01 22:19:19 arj Exp $
-*mmsv2-0.9.3 (24 Jan 2005)
+ 01 Mar 2005; Anders Rune Jensen <arj@gentoo.org> mmsv2-1.0.ebuild:
+ Fix compilation with svga enabled. Found by Andreas.
+
+*mmsv2-1.0.0 (24 Jan 2005)
24 Jan 2005; Anders Rune Jensen <arj@gentoo.org> +mmsv2-1.0.ebuild:
New version. Works on amd64.
diff --git a/media-video/mmsv2/files/vgagl-compile-fix b/media-video/mmsv2/files/vgagl-compile-fix
new file mode 100644
index 000000000000..85bbd7d01ee6
--- /dev/null
+++ b/media-video/mmsv2/files/vgagl-compile-fix
@@ -0,0 +1,28 @@
+--- orig/vgaglout.cpp
++++ mod/vgaglout.cpp
+@@ -81,7 +81,7 @@
+
+ if (mode < 1)
+ {
+- std::cerr << gettexct("Can't find any valid VGAGL mode for ") << screen_width << 'x' << screen_height << std::endl;
++ std::cerr << gettext("Can't find any valid VGAGL mode for ") << screen_width << 'x' << screen_height << std::endl;
+ deinit();
+ return;
+ }
+@@ -229,10 +229,6 @@
+
+ void VGAGLdev::redraw()
+ {
+- Render *render = Render::get_instance();
+-
+- render->set_context_to_buffer(render->cur_image);
+-
+ vga_lockvc();
+ if (vga_oktowrite())
+ #ifdef resize_image
+@@ -245,5 +241,4 @@
+ #endif
+ #endif
+ vga_unlockvc();
+-
+ }
diff --git a/media-video/mmsv2/mmsv2-1.0.ebuild b/media-video/mmsv2/mmsv2-1.0.ebuild
index cb17f80a4865..eea70b97e5f9 100644
--- a/media-video/mmsv2/mmsv2-1.0.ebuild
+++ b/media-video/mmsv2/mmsv2-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mmsv2/mmsv2-1.0.ebuild,v 1.1 2005/01/24 01:58:53 arj Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mmsv2/mmsv2-1.0.ebuild,v 1.2 2005/03/01 22:19:19 arj Exp $
inherit eutils
@@ -36,6 +36,8 @@ src_unpack() {
unpack ${P}.tar.bz2
cd ${S}
+
+ epatch ${FILESDIR}/vgagl-compile-fix
}
src_compile() {