1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

Fix bold/intensive fonts in konsole.

Submitted by: moose@opera.com
This commit is contained in:
Michael Nottebrock 2006-09-18 16:31:54 +00:00
parent 200ebcd330
commit 04de6f0ed1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173339
14 changed files with 98 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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