diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2012-07-17 12:33:39 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2012-07-17 12:33:39 +0000 |
commit | f20c26d05fbf39982f52b600f9db8f267a1fd27e (patch) | |
tree | cbcdb890c7fe7f92e729eda1133fe87510e76d3a /dev-games/crystalspace/files | |
parent | Another hardcoded path in the Linux source tree (depmod) wrt #426698 by Kyle ... (diff) | |
download | gentoo-2-f20c26d05fbf39982f52b600f9db8f267a1fd27e.tar.gz gentoo-2-f20c26d05fbf39982f52b600f9db8f267a1fd27e.tar.bz2 gentoo-2-f20c26d05fbf39982f52b600f9db8f267a1fd27e.zip |
Fix build with gcc-4.7 Bug #426870
(Portage version: 2.1.11.7/cvs/Linux i686)
Diffstat (limited to 'dev-games/crystalspace/files')
-rw-r--r-- | dev-games/crystalspace/files/crystalspace-1.4.0-gcc47.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-games/crystalspace/files/crystalspace-1.4.0-gcc47.patch b/dev-games/crystalspace/files/crystalspace-1.4.0-gcc47.patch new file mode 100644 index 000000000000..74ac5df38296 --- /dev/null +++ b/dev-games/crystalspace/files/crystalspace-1.4.0-gcc47.patch @@ -0,0 +1,42 @@ +--- include/csutil/blockallocator.h.old 2012-07-17 09:08:57.203478402 +0200 ++++ include/csutil/blockallocator.h 2012-07-17 09:10:34.556642885 +0200 +@@ -166,7 +166,7 @@ + ~csBlockAllocator() + { + ObjectDispose dispose (*this, false); +- DisposeAll (dispose); ++ this->DisposeAll (dispose); + } + + /** +@@ -177,7 +177,7 @@ + void Empty() + { + ObjectDispose dispose (*this, true); +- DisposeAll (dispose); ++ this->DisposeAll (dispose); + } + + /** +--- include/csutil/parray.h.old 2012-07-17 13:02:11.524886456 +0200 ++++ include/csutil/parray.h 2012-07-17 13:02:43.531639147 +0200 +@@ -106,7 +106,7 @@ + { + CS_ASSERT (this->GetSize () > 0); + T* ret = GetAndClear (this->GetSize () - 1); // see *1* +- Truncate (this->GetSize () - 1); ++ this->Truncate (this->GetSize () - 1); + return ret; + } + +--- include/csutil/refarr.h.old 2012-07-17 09:16:33.084469347 +0200 ++++ include/csutil/refarr.h 2012-07-17 09:17:04.008298074 +0200 +@@ -106,7 +106,7 @@ + { + CS_ASSERT (this->GetSize () > 0); + csRef<T> ret = this->Get (this->GetSize () - 1); // see *1* +- SetSize (this->GetSize () - 1); ++ this->SetSize (this->GetSize () - 1); + return csPtr<T> (ret); + } + }; |