svn commit: r302675 - in head/irc/weechat: . files
Jase Thew
jase at FreeBSD.org
Fri Aug 17 11:11:04 UTC 2012
Author: jase
Date: Fri Aug 17 11:11:04 2012
New Revision: 302675
URL: http://svn.freebsd.org/changeset/ports/302675
Log:
- Add temporary patch (taken from upstream master) to fix color attributes
on wrapped lines.
Approved by: culot (mentor)
Added:
head/irc/weechat/files/patch-src-gui-curses-gui_curses_chat_c (contents, props changed)
Modified:
head/irc/weechat/Makefile
Modified: head/irc/weechat/Makefile
==============================================================================
--- head/irc/weechat/Makefile Fri Aug 17 10:20:48 2012 (r302674)
+++ head/irc/weechat/Makefile Fri Aug 17 11:11:04 2012 (r302675)
@@ -7,7 +7,7 @@
PORTNAME= weechat
PORTVERSION= 0.3.8
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= irc
MASTER_SITES= http://weechat.org/files/src/
Added: head/irc/weechat/files/patch-src-gui-curses-gui_curses_chat_c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/weechat/files/patch-src-gui-curses-gui_curses_chat_c Fri Aug 17 11:11:04 2012 (r302675)
@@ -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 ();
+ }
+ }
More information about the svn-ports-head
mailing list