diff options
Diffstat (limited to 'dev-libs/tvision/files/tvision-2.0.3-gcc4.patch')
-rw-r--r-- | dev-libs/tvision/files/tvision-2.0.3-gcc4.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-libs/tvision/files/tvision-2.0.3-gcc4.patch b/dev-libs/tvision/files/tvision-2.0.3-gcc4.patch deleted file mode 100644 index 13a1ddb6a26e..000000000000 --- a/dev-libs/tvision/files/tvision-2.0.3-gcc4.patch +++ /dev/null @@ -1,35 +0,0 @@ -http://bugs.gentoo.org/130223 - ---- include/compatlayer.h -+++ include/compatlayer.h -@@ -324,7 +324,7 @@ - library. GCC implemented it in version 3.0. BC++ implemented some - stuff in versions like BC++ 5.5. So that's a real mess. */ - #if __GNUC__>=3 -- #if __GNUC_MINOR__>=4 -+ #if __GNUC__ >=4 || __GNUC_MINOR__>=4 - // gcc 3.4. It have __gnu_cxx::stdio_filebuf class. - #define CLY_filebuf __gnu_cxx::stdio_filebuf<char> - #define CLY_int_filebuf CLY_filebuf ---- classes/tinputli.cc -+++ classes/tinputli.cc -@@ -85,9 +85,6 @@ - modeOptions=defaultModeOptions; - } - --template class TInputLineBaseT<char,TDrawBuffer>; --template class TInputLineBaseT<uint16,TDrawBufferU16>; -- - template <typename T, typename D> - TInputLineBaseT<T,D>::TInputLineBaseT(const TRect& bounds, int aMaxLen) : - TInputLineBase(bounds,aMaxLen) -@@ -97,6 +94,9 @@ - cellSize=sizeof(T); - } - -+template class TInputLineBaseT<char,TDrawBuffer>; -+template class TInputLineBaseT<uint16,TDrawBufferU16>; -+ - void TInputLineBase::SetValidator(TValidator * aValidator) - { - CLY_destroy(validator); |