Date: Monday, January 6, 2014 @ 12:32:20 Author: bisson Revision: 203239
fix FS#38326 Added: libotr/trunk/kopete.patch Modified: libotr/trunk/PKGBUILD --------------+ PKGBUILD | 13 ++++++++++--- kopete.patch | 12 ++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-01-06 11:03:56 UTC (rev 203238) +++ PKGBUILD 2014-01-06 11:32:20 UTC (rev 203239) @@ -5,15 +5,22 @@ pkgname=libotr pkgver=4.0.0 -pkgrel=2 +pkgrel=3 pkgdesc='Off-the-Record Messaging Library and Toolkit' url='http://www.cypherpunks.ca/otr/' license=('GPL' 'LGPL') arch=('i686' 'x86_64') depends=('libgcrypt') -source=("http://www.cypherpunks.ca/otr/${pkgname}-${pkgver}.tar.gz") -sha1sums=('8865e9011b8674290837afcf7caf90c492ae09cc') +source=("http://www.cypherpunks.ca/otr/${pkgname}-${pkgver}.tar.gz" + 'kopete.patch') +sha1sums=('8865e9011b8674290837afcf7caf90c492ae09cc' + '55988c4f11b6852491a758ea7a5b7071e8959c55') +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../kopete.patch # FS#38326 +} + build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --mandir=/usr/share/man Added: kopete.patch =================================================================== --- kopete.patch (rev 0) +++ kopete.patch 2014-01-06 11:32:20 UTC (rev 203239) @@ -0,0 +1,12 @@ +diff -Naur old/src/message.c new/src/message.c +--- old/src/message.c 2012-08-31 02:15:35.000000000 -1000 ++++ new/src/message.c 2014-01-06 01:22:43.316831758 -1000 +@@ -441,7 +441,7 @@ + /* 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); + } + }
