1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Add temporary patch (taken from upstream master) to fix color attributes

on wrapped lines.

Approved by:	culot (mentor)
This commit is contained in:
Jase Thew 2012-08-17 11:11:04 +00:00
parent 28d9ae65c1
commit e650ead063
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302675
2 changed files with 16 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= weechat
PORTVERSION= 0.3.8
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= irc
MASTER_SITES= http://weechat.org/files/src/

View File

@ -0,0 +1,15 @@
--- src/gui/curses/gui-curses-chat.c.orig 2012-05-21 08:52:17.000000000 +0100
+++ src/gui/curses/gui-curses-chat.c 2012-08-17 10:56:08.889994341 +0100
@@ -484,6 +484,12 @@
if (!simulate)
{
wattr_set (GUI_WINDOW_OBJECTS(window)->win_chat, attrs, pair, NULL);
+ /*
+ * for unknown reason, the wattr_set function sometimes
+ * fails to set the color pair under FreeBSD, so we force
+ * it again with wcolor_set
+ */
+ wcolor_set (GUI_WINDOW_OBJECTS(window)->win_chat, pair, NULL);
gui_window_restore_style ();
}
}