summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-30 19:53:42 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-30 19:53:42 +0000
commit344eb72d3c4ced9c5ac4247d146456657d5b1753 (patch)
treeb643ebc9469267aacdeab57a5a503f4f9e50f0b8 /dev-libs/tvision/files
parentRevision bump. Updating to 2.6.17.7 (diff)
downloadgentoo-2-344eb72d3c4ced9c5ac4247d146456657d5b1753.tar.gz
gentoo-2-344eb72d3c4ced9c5ac4247d146456657d5b1753.tar.bz2
gentoo-2-344eb72d3c4ced9c5ac4247d146456657d5b1753.zip
Fix building with gcc-4 #130223 by Håvard Wall.
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'dev-libs/tvision/files')
-rw-r--r--dev-libs/tvision/files/digest-tvision-2.0.12
-rw-r--r--dev-libs/tvision/files/digest-tvision-2.0.32
-rw-r--r--dev-libs/tvision/files/tvision-2.0.3-gcc4.patch35
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/tvision/files/digest-tvision-2.0.1 b/dev-libs/tvision/files/digest-tvision-2.0.1
index 9e2d339a8c19..6f59299ac8dd 100644
--- a/dev-libs/tvision/files/digest-tvision-2.0.1
+++ b/dev-libs/tvision/files/digest-tvision-2.0.1
@@ -1 +1,3 @@
MD5 409c52e8ec111a10f40b41a7fd198766 rhtvision-2.0.1.src.tar.gz 1168371
+RMD160 b40369f6f0d85f09cc80cdc16055813f7f71874f rhtvision-2.0.1.src.tar.gz 1168371
+SHA256 f9c67dc9d866ddcc028cd17c3d0293a97f9870db8b3d9fb6f8b099feb21054e8 rhtvision-2.0.1.src.tar.gz 1168371
diff --git a/dev-libs/tvision/files/digest-tvision-2.0.3 b/dev-libs/tvision/files/digest-tvision-2.0.3
index 502f4d1be7d0..f0f1bf5b80c9 100644
--- a/dev-libs/tvision/files/digest-tvision-2.0.3
+++ b/dev-libs/tvision/files/digest-tvision-2.0.3
@@ -1 +1,3 @@
MD5 b6129f5c510ba9d28d21c9575b7e1c75 rhtvision-2.0.3.src.tar.gz 1068752
+RMD160 7c37bc1e9d27384ccb3ba8cee3a129e797790ca9 rhtvision-2.0.3.src.tar.gz 1068752
+SHA256 cd8eacf19b8d4302349604fb7b29729e5eea4fee652b08c2768f061e74eb7b9e rhtvision-2.0.3.src.tar.gz 1068752
diff --git a/dev-libs/tvision/files/tvision-2.0.3-gcc4.patch b/dev-libs/tvision/files/tvision-2.0.3-gcc4.patch
new file mode 100644
index 000000000000..13a1ddb6a26e
--- /dev/null
+++ b/dev-libs/tvision/files/tvision-2.0.3-gcc4.patch
@@ -0,0 +1,35 @@
+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);