This is a gentoo overlay hosting either customized ebuilds I have in use as well as ebuilds for my own projects.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
683 B

--- qtools/qtextcodec.cpp.orig 2003-12-14 14:00:57.000000000 -0800
+++ qtools/qtextcodec.cpp 2005-05-29 19:13:17.000000000 -0700
@@ -1321,7 +1321,7 @@
-#ifndef QT_NO_CODECS
+// #ifndef QT_NO_CODECS
class QSimpleTextCodec: public QTextCodec
{
@@ -1948,7 +1948,7 @@
}
-#endif // QT_NO_CODECS
+// #endif // QT_NO_CODECS
class QLatin1Codec: public QTextCodec
{
@@ -2048,12 +2048,13 @@
{
(void)new QLatin1Codec;
-#ifndef QT_NO_CODECS
+
int i = 0;
do {
(void)new QSimpleTextCodec( i );
} while( unicodevalues[i++].mib != LAST_MIB );
+#ifndef QT_NO_CODECS
(void)new QEucJpCodec;
(void)new QSjisCodec;
(void)new QJisCodec;