From 04de6f0ed1ef1be25912a4f6cfa36b3ad2b9273c Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Mon, 18 Sep 2006 16:31:54 +0000 Subject: Fix bold/intensive fonts in konsole. Submitted by: moose@opera.com --- x11/kde4-runtime/Makefile | 2 +- x11/kde4-runtime/files/patch-konsole_konsole-TECommon.h | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 x11/kde4-runtime/files/patch-konsole_konsole-TECommon.h (limited to 'x11/kde4-runtime') diff --git a/x11/kde4-runtime/Makefile b/x11/kde4-runtime/Makefile index 36013d60433f..e7c579b67557 100644 --- a/x11/kde4-runtime/Makefile +++ b/x11/kde4-runtime/Makefile @@ -8,7 +8,7 @@ PORTNAME= kdebase PORTVERSION= ${KDE_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src diff --git a/x11/kde4-runtime/files/patch-konsole_konsole-TECommon.h b/x11/kde4-runtime/files/patch-konsole_konsole-TECommon.h new file mode 100644 index 000000000000..a3d83a525c02 --- /dev/null +++ b/x11/kde4-runtime/files/patch-konsole_konsole-TECommon.h @@ -0,0 +1,13 @@ +--- konsole/konsole/TECommon.h.orig Mon Sep 18 03:31:12 2006 ++++ konsole/konsole/TECommon.h Mon Sep 18 03:31:31 2006 +@@ -219,8 +219,8 @@ + + inline bool ca::isBold(const ColorEntry* base) const + { +- return (b.t == CO_DFT) && base[b.u+0+(b.v?BASE_COLORS:0)].bold +- || (b.t == CO_SYS) && base[b.u+2+(b.v?BASE_COLORS:0)].bold; ++ return (f.t == CO_DFT) && base[f.u+0+(f.v?BASE_COLORS:0)].bold ++ || (f.t == CO_SYS) && base[f.u+2+(f.v?BASE_COLORS:0)].bold; + } + + #endif // TECOMMON_H -- cgit v1.2.3