aboutsummaryrefslogtreecommitdiffstats
path: root/main/irssi
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2011-02-17 19:20:24 -0500
committerKiyoshi Aman <kiyoshi.aman@gmail.com>2011-02-17 19:21:09 -0500
commit87b9e20030a1c56d232cbd2263c73d6dd4e007f1 (patch)
tree0c5052519e5bcc3eccb4f2b040b0fe0d541e1629 /main/irssi
parent77f4ea1469d971b23459db4d00370c0de852c271 (diff)
downloadaports-87b9e20030a1c56d232cbd2263c73d6dd4e007f1.tar.bz2
aports-87b9e20030a1c56d232cbd2263c73d6dd4e007f1.tar.xz
main/irssi: Italics actually *work* now.
Diffstat (limited to 'main/irssi')
-rw-r--r--main/irssi/APKBUILD4
-rw-r--r--main/irssi/irssi-italics.patch21
2 files changed, 22 insertions, 3 deletions
diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD
index e291da3578..52c0f9bdcc 100644
--- a/main/irssi/APKBUILD
+++ b/main/irssi/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman at gmail.com>
pkgname=irssi
pkgver=0.8.15
-pkgrel=5
+pkgrel=6
pkgdesc="A modular textUI IRC client with IPv6 support"
url="http://irssi.org/"
arch="all"
@@ -67,4 +67,4 @@ proxy() {
}
md5sums="1dcb3f511b88df94b0c996f36668c7da irssi-0.8.15.tar.bz2
-997281a5b6dc68f86cc6182d287cc894 irssi-italics.patch"
+bb8b9f8b960837ad061a8e5b9b19824b irssi-italics.patch"
diff --git a/main/irssi/irssi-italics.patch b/main/irssi/irssi-italics.patch
index fb4324e302..27763bd9ef 100644
--- a/main/irssi/irssi-italics.patch
+++ b/main/irssi/irssi-italics.patch
@@ -45,7 +45,26 @@
case '9':
case '_':
/* bold on/off */
-@@ -1050,6 +1054,7 @@
+@@ -832,7 +836,7 @@
+
+ #define IS_COLOR_CODE(c) \
+ ((c) == 2 || (c) == 3 || (c) == 4 || (c) == 6 || (c) == 7 || \
+- (c) == 15 || (c) == 22 || (c) == 27 || (c) == 31)
++ (c) == 15 || (c) == 22 || (c) == 27 || (c) == 29 || (c) == 31)
+
+ /* Return how many characters in `str' must be skipped before `len'
+ characters of text is skipped. */
+@@ -1001,6 +1005,9 @@
+ case FORMAT_STYLE_UNDERLINE:
+ flags ^= GUI_PRINT_FLAG_UNDERLINE;
+ break;
++ case FORMAT_STYLE_ITALIC:
++ flags ^= GUI_PRINT_FLAG_ITALIC;
++ break;
+ case FORMAT_STYLE_BOLD:
+ flags ^= GUI_PRINT_FLAG_BOLD;
+ break;
+@@ -1050,6 +1057,7 @@
if (!hide_text_style)
flags ^= GUI_PRINT_FLAG_REVERSE;
break;