summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-base/kalgebra/ChangeLog6
-rw-r--r--kde-base/kalgebra/files/kalgebra-4.5.1-opengl.patch14
-rw-r--r--kde-base/kalgebra/kalgebra-4.5.1.ebuild3
3 files changed, 21 insertions, 2 deletions
diff --git a/kde-base/kalgebra/ChangeLog b/kde-base/kalgebra/ChangeLog
index 3eb16fbe4cfc..cd7f81a286eb 100644
--- a/kde-base/kalgebra/ChangeLog
+++ b/kde-base/kalgebra/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/kalgebra
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/ChangeLog,v 1.72 2010/09/05 23:20:47 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/ChangeLog,v 1.73 2010/09/11 09:56:33 reavertm Exp $
+
+ 11 Sep 2010; Maciej Mrozowski <reavertm@gentoo.org> kalgebra-4.5.1.ebuild,
+ +files/kalgebra-4.5.1-opengl.patch:
+ Add fix for opengl-less compilation, bug 336777
*kalgebra-4.5.1 (05 Sep 2010)
diff --git a/kde-base/kalgebra/files/kalgebra-4.5.1-opengl.patch b/kde-base/kalgebra/files/kalgebra-4.5.1-opengl.patch
new file mode 100644
index 000000000000..694dfaa5b7a9
--- /dev/null
+++ b/kde-base/kalgebra/files/kalgebra-4.5.1-opengl.patch
@@ -0,0 +1,14 @@
+Index: kalgebra/src/kalgebra.cpp
+===================================================================
+--- kalgebra/src/kalgebra.cpp (revision 1174005)
++++ kalgebra/src/kalgebra.cpp (working copy)
+@@ -504,7 +504,9 @@
+
+ c_menu->setEnabled(false);
+ b_menu->setEnabled(false);
++#ifdef HAVE_OPENGL
+ t_menu->setEnabled(false);
++#endif
+
+ m_status->clear();
+
diff --git a/kde-base/kalgebra/kalgebra-4.5.1.ebuild b/kde-base/kalgebra/kalgebra-4.5.1.ebuild
index 59aa75e28a7f..b75279ba1113 100644
--- a/kde-base/kalgebra/kalgebra-4.5.1.ebuild
+++ b/kde-base/kalgebra/kalgebra-4.5.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/kalgebra-4.5.1.ebuild,v 1.2 2010/09/06 04:51:25 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/kalgebra-4.5.1.ebuild,v 1.3 2010/09/11 09:56:33 reavertm Exp $
EAPI="3"
@@ -22,6 +22,7 @@ KMEXTRACTONLY="libkdeedu/kdeeduui"
PATCHES=(
"${FILESDIR}"/${PN}-4.3.2-solaris-graph2d.patch
+ "${FILESDIR}"/${P}-opengl.patch
)
src_configure() {