Update to libotr-4.1.0.

ok pascal@
This commit is contained in:
stsp 2015-04-03 16:15:40 +00:00
parent b59c882369
commit 4b680db78a
3 changed files with 6 additions and 27 deletions

View File

@ -1,21 +1,13 @@
# $OpenBSD: Makefile,v 1.25 2015/03/16 18:07:54 naddy Exp $
# WARNING: When trying to update this port to 4.x.x, please be
# aware that the following ports need adjustments for the new
# OTRv4 API:
# net/climm
# net/bitlbee,otr
# net/mcabber (diff ready)
# $OpenBSD: Makefile,v 1.26 2015/04/03 16:15:40 stsp Exp $
COMMENT= portable OTR messaging library and toolkit
DISTNAME= libotr-4.0.0
DISTNAME= libotr-4.1.0
CATEGORIES= security
REVISION= 0
SHARED_LIBS += otr 4.0 # 5.0
SHARED_LIBS += otr 4.1 # 6.0
HOMEPAGE= http://www.cypherpunks.ca/otr/
HOMEPAGE= http://otr.cypherpunks.ca/
MASTER_SITES= ${HOMEPAGE}

View File

@ -1,2 +1,2 @@
SHA256 (libotr-4.0.0.tar.gz) = P5EZlECYmOdFJ3MHRe817XXDUsaVoYIqZ3o0ss8Ck7Q=
SIZE (libotr-4.0.0.tar.gz) = 441441
SHA256 (libotr-4.1.0.tar.gz) = T9uJGUDsidMAGQqY9pqROCSNy4yNM3Yz+5gbjQqc2TA=
SIZE (libotr-4.1.0.tar.gz) = 576771

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-src_message_c,v 1.3 2013/08/15 16:33:22 stsp Exp $
Fix crash with net/bitlbee,otr.
--- src/message.c.orig Wed Aug 14 17:26:39 2013
+++ src/message.c Wed Aug 14 17:27:59 2013
@@ -441,7 +441,7 @@ fragment:
/* Fragment and send according to policy */
if (!err && messagep && *messagep) {
if (context) {
- err = fragment_and_send(ops, NULL, context, *messagep,
+ err = fragment_and_send(ops, opdata, context, *messagep,
fragPolicy, messagep);
}
}