diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-04-16 18:00:58 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-04-16 18:00:58 +0000 |
commit | d983603d0997c1bfa2916fbaf0fef941e18b330c (patch) | |
tree | cf3f8a57820bb74c56de44cf55b15dfa14d14bcc /media-libs/libprojectm/files | |
parent | ppc stable, bug #217232 (diff) | |
download | gentoo-2-d983603d0997c1bfa2916fbaf0fef941e18b330c.tar.gz gentoo-2-d983603d0997c1bfa2916fbaf0fef941e18b330c.tar.bz2 gentoo-2-d983603d0997c1bfa2916fbaf0fef941e18b330c.zip |
Fix white window problem with libvisual-projectm and amarok wrt #211263, thanks to Torsten Grote. Fix also building with GCC 4.3.
(Portage version: 2.1.5_rc3)
Diffstat (limited to 'media-libs/libprojectm/files')
-rw-r--r-- | media-libs/libprojectm/files/libprojectm-1.01-gcc43.patch | 12 | ||||
-rw-r--r-- | media-libs/libprojectm/files/libprojectm-1.01-white_window.patch | 20 |
2 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/libprojectm/files/libprojectm-1.01-gcc43.patch b/media-libs/libprojectm/files/libprojectm-1.01-gcc43.patch new file mode 100644 index 000000000000..e97d7124ce1b --- /dev/null +++ b/media-libs/libprojectm/files/libprojectm-1.01-gcc43.patch @@ -0,0 +1,12 @@ +diff -ur libprojectM-1.01.orig/Param.hpp libprojectM-1.01/Param.hpp +--- libprojectM-1.01.orig/Param.hpp 2007-10-10 17:47:14.000000000 +0300 ++++ libprojectM-1.01/Param.hpp 2008-04-16 20:55:38.000000000 +0300 +@@ -54,6 +54,8 @@ + #include "Common.hpp" + #include <cmath> + #include <string> ++#include <stdlib.h> ++ + class InitCond; + class Param; + class Preset; diff --git a/media-libs/libprojectm/files/libprojectm-1.01-white_window.patch b/media-libs/libprojectm/files/libprojectm-1.01-white_window.patch new file mode 100644 index 000000000000..3336aa0bdc8c --- /dev/null +++ b/media-libs/libprojectm/files/libprojectm-1.01-white_window.patch @@ -0,0 +1,20 @@ +--- FBO.cpp 2007-10-10 16:47:14.000000000 +0200 ++++ FBO.new 2008-02-24 06:08:16.000000000 +0100 +@@ -176,7 +176,7 @@ + //glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); + //glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); + +- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); ++ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + + glTexImage2D(GL_TEXTURE_2D, +@@ -217,7 +217,7 @@ + //glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); + //glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); + +- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); ++ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + + glTexImage2D(GL_TEXTURE_2D, |