1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/x11-toolkits/qt30/files/patch-ao
Will Andrews a29b482458 Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested).  The biggest bonus:  split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible.  This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer.  UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).

USE_MESA may break KDE2.  Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't.  But until the
next release of KDE2, I'm not gonna bother testing to see.

USE_MESA repeatedly requested by:	sobomax
2001-02-04 04:43:14 +00:00

34 lines
985 B
Plaintext

--- src/kernel/qfontdatabase.cpp Wed Jan 31 21:26:40 2001
+++ src/kernel/qfontdatabase.cpp.new Sat Feb 3 16:30:20 2001
@@ -1343,6 +1343,14 @@
return QFont::KOI8R;
if ( name == "koi8-u" )
return QFont::KOI8U;
+ if ( name == "microsoft-cp1251" )
+ return QFont::CP_1251;
+ if ( name == "windows-1251" )
+ return QFont::CP_1251;
+ if ( name == "paratype-cp154" )
+ return QFont::PT_154;
+ if ( name == "paratype-154" )
+ return QFont::PT_154;
if ( name == "tis620-0" )
return QFont::TIS620;
if ( name == "tscii-0" )
@@ -1598,13 +1606,13 @@
sample += QChar(0x0436);
sample += QChar(0x2560);
break;
- case QFont::CP1251:
+ case QFont::CP_1251:
sample += QChar(0x0414);
sample += QChar(0x0490);
sample += QChar(0x040E);
sample += QChar(0x20AC);
break;
- case QFont::PT154:
+ case QFont::PT_154:
sample += QChar(0x0496);
sample += QChar(0x04E8);
sample += QChar(0x04D8);