mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +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:
parent
28d9ae65c1
commit
e650ead063
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302675
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= weechat
|
||||
PORTVERSION= 0.3.8
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= http://weechat.org/files/src/
|
||||
|
||||
|
15
irc/weechat/files/patch-src-gui-curses-gui_curses_chat_c
Normal file
15
irc/weechat/files/patch-src-gui-curses-gui_curses_chat_c
Normal 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 ();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user