mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
- Update to 0.7.6
PR: 95860 Submitted by: "infofarmer ___ gmail. com" <infofarmer___gmail.com>
This commit is contained in:
parent
3b8c4a2d30
commit
8486b71dc9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161521
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= mcabber
|
||||
PORTVERSION= 0.7.0
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 0.7.6
|
||||
CATEGORIES= net-im
|
||||
MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (mcabber-0.7.0.tar.bz2) = fd40c81da873bd41a360735cc61c9db4
|
||||
SHA256 (mcabber-0.7.0.tar.bz2) = 9287cab98c28df40cfe49aa8ae7f5d75e72b5fa1a261d67db0800216e6fa103b
|
||||
SIZE (mcabber-0.7.0.tar.bz2) = 310063
|
||||
MD5 (mcabber-0.7.6.tar.bz2) = 0456968da2a50eb127fce2a1ee5d5902
|
||||
SHA256 (mcabber-0.7.6.tar.bz2) = 03cc90cfce72a0d77fd9f6a83ef413cb27eb7421ff6c6042bf8fe5cbaf6d62de
|
||||
SIZE (mcabber-0.7.6.tar.bz2) = 332528
|
||||
|
27
net-im/mcabber/files/patch-src__hbuf.c
Normal file
27
net-im/mcabber/files/patch-src__hbuf.c
Normal file
@ -0,0 +1,27 @@
|
||||
--- ./src/hbuf.c.orig Fri Apr 14 19:19:10 2006
|
||||
+++ ./src/hbuf.c Sat May 6 20:05:46 2006
|
||||
@@ -252,6 +252,9 @@
|
||||
hbuf_block *blk;
|
||||
guchar last_persist_prefixflags = 0;
|
||||
GList *last_persist; // last persistent flags
|
||||
+ int maxlen;
|
||||
+ hbb_line **array;
|
||||
+ hbb_line **array_elt;
|
||||
|
||||
// To be able to correctly highlight multi-line messages,
|
||||
// we need to look at the last non-null prefix, which should be the first
|
||||
@@ -266,12 +269,11 @@
|
||||
last_persist = g_list_previous(last_persist);
|
||||
}
|
||||
|
||||
- hbb_line **array = g_new0(hbb_line*, n);
|
||||
- hbb_line **array_elt = array;
|
||||
+ array = g_new0(hbb_line*, n);
|
||||
+ array_elt = array;
|
||||
|
||||
for (i=0 ; i < n ; i++) {
|
||||
if (hbuf) {
|
||||
- int maxlen;
|
||||
blk = (hbuf_block*)(hbuf->data);
|
||||
maxlen = blk->ptr_end - blk->ptr;
|
||||
*array_elt = (hbb_line*)g_new(hbb_line, 1);
|
@ -1,19 +0,0 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- src/hbuf.c.orig
|
||||
+++ src/hbuf.c
|
||||
@@ -70,12 +70,12 @@
|
||||
// Set p_hbuf to the end of the list, to speed up history loading
|
||||
// (or CPU time will be used by g_list_last() for each line)
|
||||
hbuf = *p_hbuf = g_list_last(*p_hbuf);
|
||||
- hbuf_block *hbuf_b_prev = hbuf->data;
|
||||
+ { hbuf_block *hbuf_b_prev = hbuf->data;
|
||||
hbuf_block_elt->ptr = hbuf_b_prev->ptr_end;
|
||||
hbuf_block_elt->flags = HBB_FLAG_PERSISTENT;
|
||||
hbuf_block_elt->ptr_end_alloc = hbuf_b_prev->ptr_end_alloc;
|
||||
g_list_append(*p_hbuf, hbuf_block_elt);
|
||||
- }
|
||||
+ }}
|
||||
|
||||
if (strlen(text) >= HBB_BLOCKSIZE) {
|
||||
// Too long
|
Loading…
Reference in New Issue
Block a user