summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-09-11 09:56:33 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-09-11 09:56:33 +0000
commit6d61be08a90df3a60e8f37159cfe7b2512018671 (patch)
tree4c097e9e85ab8e07ac2f76eec884c8ddfeb134c1 /kde-base/kalgebra/files
parentppc stable #329703 (diff)
downloadgentoo-2-6d61be08a90df3a60e8f37159cfe7b2512018671.tar.gz
gentoo-2-6d61be08a90df3a60e8f37159cfe7b2512018671.tar.bz2
gentoo-2-6d61be08a90df3a60e8f37159cfe7b2512018671.zip
Add fix for opengl-less compilation, bug 336777
(Portage version: 2.2_rc79/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kalgebra/files')
-rw-r--r--kde-base/kalgebra/files/kalgebra-4.5.1-opengl.patch14
1 files changed, 14 insertions, 0 deletions
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();
+