From 2c7bc46a2c0695d6a8f3aa493246b7753e273403 Mon Sep 17 00:00:00 2001 From: Simon Stelling Date: Fri, 17 Feb 2006 16:38:52 +0000 Subject: [PATCH] no need to bzip smallish patches Package-Manager: portage-2.1_pre4-r1 --- net-im/centericq/ChangeLog | 15 +++- net-im/centericq/Manifest | 64 ++++++++++++------ net-im/centericq/centericq-4.20.0-r2.ebuild | 6 +- net-im/centericq/centericq-4.20.0-r3.ebuild | 6 +- net-im/centericq/centericq-4.21.0-r1.ebuild | 8 +-- net-im/centericq/centericq-4.21.0-r2.ebuild | 10 +-- .../centericq-4.20.0.CAN-2005-1914.patch | 25 +++++++ .../centericq-4.20.0.CAN-2005-1914.patch.bz2 | Bin 576 -> 0 bytes .../centericq-4.21.0-icq-short-read.diff | 10 +++ .../centericq-4.21.0-icq-short-read.diff.bz2 | Bin 333 -> 0 bytes .../files/centericq-4.21.0-ktools.diff | 12 ++++ .../files/centericq-4.21.0-ktools.diff.bz2 | Bin 300 -> 0 bytes .../centericq-4.21.0-memory-handling.diff | 26 +++++++ .../centericq-4.21.0-memory-handling.diff.bz2 | Bin 399 -> 0 bytes 14 files changed, 147 insertions(+), 35 deletions(-) create mode 100644 net-im/centericq/files/centericq-4.20.0.CAN-2005-1914.patch delete mode 100644 net-im/centericq/files/centericq-4.20.0.CAN-2005-1914.patch.bz2 create mode 100644 net-im/centericq/files/centericq-4.21.0-icq-short-read.diff delete mode 100644 net-im/centericq/files/centericq-4.21.0-icq-short-read.diff.bz2 create mode 100644 net-im/centericq/files/centericq-4.21.0-ktools.diff delete mode 100644 net-im/centericq/files/centericq-4.21.0-ktools.diff.bz2 create mode 100644 net-im/centericq/files/centericq-4.21.0-memory-handling.diff delete mode 100644 net-im/centericq/files/centericq-4.21.0-memory-handling.diff.bz2 diff --git a/net-im/centericq/ChangeLog b/net-im/centericq/ChangeLog index b26b90d1e89e..9d0210d8af49 100644 --- a/net-im/centericq/ChangeLog +++ b/net-im/centericq/ChangeLog @@ -1,6 +1,19 @@ # ChangeLog for net-im/centericq # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/ChangeLog,v 1.86 2006/01/08 01:41:31 humpback Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/ChangeLog,v 1.87 2006/02/17 16:38:52 blubb Exp $ + + 17 Feb 2006; Simon Stelling + +files/centericq-4.20.0.CAN-2005-1914.patch, + -files/centericq-4.20.0.CAN-2005-1914.patch.bz2, + +files/centericq-4.21.0-icq-short-read.diff, + -files/centericq-4.21.0-icq-short-read.diff.bz2, + +files/centericq-4.21.0-ktools.diff, + -files/centericq-4.21.0-ktools.diff.bz2, + +files/centericq-4.21.0-memory-handling.diff, + -files/centericq-4.21.0-memory-handling.diff.bz2, + centericq-4.20.0-r2.ebuild, centericq-4.20.0-r3.ebuild, + centericq-4.21.0-r1.ebuild, centericq-4.21.0-r2.ebuild: + no need to bzip smallish patches 08 Jan 2006; Gustavo Felisberto ; metadata.xml: Updated maintainer now it is only wschlich. Closes bug #23129 about retired diff --git a/net-im/centericq/Manifest b/net-im/centericq/Manifest index 0d0991022127..3e7941374478 100644 --- a/net-im/centericq/Manifest +++ b/net-im/centericq/Manifest @@ -1,28 +1,54 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 9f212891551f1b9e06b9fd2f4071e2b1 ChangeLog 12462 -MD5 f87bde9c0093587ef76f595a99652913 centericq-4.20.0-r2.ebuild 2492 -MD5 665a58f3929149c9064cd31a3c554601 centericq-4.20.0-r3.ebuild 2433 -MD5 a04fbc1b1bb9c97db86c35826da4c92b centericq-4.21.0-r1.ebuild 2750 -MD5 4380762e504905bad5e0888b23f1cdc2 centericq-4.21.0-r2.ebuild 2795 +MD5 0c03bad7071cd7ed3b223567c553cda2 ChangeLog 13038 +RMD160 e843e1cc58d3b2425e9de72a95ce687022597870 ChangeLog 13038 +SHA256 a0aa8d65cba533565b653a112e7868399b11ef1b3d7278ed10ecb36ce87be037 ChangeLog 13038 +MD5 0e15b7a5f790dbb8c6610e7754dc8218 centericq-4.20.0-r2.ebuild 2485 +RMD160 e5c60eb47efc266397bf012d4f08d23a8bb5d677 centericq-4.20.0-r2.ebuild 2485 +SHA256 36a66805a1da402c862cc4c8c481b141bf952f98ed648688c9956d61b4a5a57b centericq-4.20.0-r2.ebuild 2485 +MD5 c3c2d6c4a788c60876d69f6ccde28909 centericq-4.20.0-r3.ebuild 2426 +RMD160 5aaaea6d7fc7c8d7a2ad005b7befff6cdb0fa332 centericq-4.20.0-r3.ebuild 2426 +SHA256 8863cce47ca410883cd4c56814cb22faf9869d925d8269fb062cdb39adf3ea5d centericq-4.20.0-r3.ebuild 2426 +MD5 bd0522d8fc72cde395dba91c408e47ea centericq-4.21.0-r1.ebuild 2741 +RMD160 6733899594d1857fd12843130d7d646d99d43e5b centericq-4.21.0-r1.ebuild 2741 +SHA256 77b4bde7ef9a1f30debf0c99161a44840ee308685ce3655c8790a146c37c293a centericq-4.21.0-r1.ebuild 2741 +MD5 fc520ba7a80cf01133241f5a84fb7c73 centericq-4.21.0-r2.ebuild 2783 +RMD160 cea51d0ad96bbf868bdeb0b2131192f74350c571 centericq-4.21.0-r2.ebuild 2783 +SHA256 162e31ac3b9a10a7539a95d8f4e2001e52723f788a1d08faf640307186f2dcc6 centericq-4.21.0-r2.ebuild 2783 MD5 eb76c53cadcfd847315cba2c1e880442 centericq-4.21.0.ebuild 2627 +RMD160 178732f92588c1acfa3c042e81cc55f95e776acc centericq-4.21.0.ebuild 2627 +SHA256 3f6a7780865cbc3126a49f5cdd2361209c25dda77064e6e380eda03f66d09980 centericq-4.21.0.ebuild 2627 MD5 27714944a72058a8f8c3e46444311651 files/centericq-4.20.0-libgadu.patch 4145 -MD5 73abf7a5deb27baf431c12003caeb02d files/centericq-4.20.0.CAN-2005-1914.patch.bz2 576 -MD5 6c7b9cadd9a8db003e584e04cedbffb2 files/centericq-4.21.0-icq-short-read.diff.bz2 333 -MD5 af2c808b485a0d11dc1ec39479d03f9b files/centericq-4.21.0-ktools.diff.bz2 300 -MD5 0047b1881feff16b6c86bf59782e8826 files/centericq-4.21.0-memory-handling.diff.bz2 399 +RMD160 8de36ab64aa15c06e064ff8af640727f4ee40292 files/centericq-4.20.0-libgadu.patch 4145 +SHA256 f22224177f2f7613b3a6e74690900041ab77dfc7110c5cb99afb8afdffb0170a files/centericq-4.20.0-libgadu.patch 4145 +MD5 342343679a0188c49bdbbde10791cda0 files/centericq-4.20.0.CAN-2005-1914.patch 971 +RMD160 97ba96b1c9f3570cd61a092c15f90bb52be2cc82 files/centericq-4.20.0.CAN-2005-1914.patch 971 +SHA256 6d952f3a92addce8eabdc33d38ef8bad9e643e65394571a5c10d84f4550a9823 files/centericq-4.20.0.CAN-2005-1914.patch 971 +MD5 30d1cc077b8d5330e45cb1051c0df8a3 files/centericq-4.21.0-icq-short-read.diff 459 +RMD160 a45875406445eb6cfa797ba484b1fae99118264d files/centericq-4.21.0-icq-short-read.diff 459 +SHA256 e47d5cbffebb5575136d223ec30e3237449c9805ccfdf1a52bde7a7e54ad1f41 files/centericq-4.21.0-icq-short-read.diff 459 +MD5 acab6602a58439dd5688812e6fcf6cec files/centericq-4.21.0-ktools.diff 522 +RMD160 c745d3f630195c4ca03c6878bf864deee9e2030a files/centericq-4.21.0-ktools.diff 522 +SHA256 75bd0133bf7c2ac00211a16b0707d64f3f208ddd4d4e6c631ad3f29b78fe251b files/centericq-4.21.0-ktools.diff 522 +MD5 d1bd933bc9df19a29bc4c12db36fedbc files/centericq-4.21.0-memory-handling.diff 730 +RMD160 8fd3702d398a3615de0a46b7ecfd366170e4880d files/centericq-4.21.0-memory-handling.diff 730 +SHA256 6fcd30911fee7cc346ec8944e5e8846291a204ba7cf1a836d82805e7d7be0443 files/centericq-4.21.0-memory-handling.diff 730 MD5 0f60514eff0a237cf8fbdd13fd88293e files/centericq-amd64.patch 6291 +RMD160 fe948ba7c308945bf58c59209a3679fe7c402385 files/centericq-amd64.patch 6291 +SHA256 69443a8b6840e9ac44730ffb1feaff31659355e4116ea6574015138f528e99e4 files/centericq-amd64.patch 6291 MD5 cb21aa5d990cbba3ea7fde0c48731fe2 files/digest-centericq-4.20.0-r2 70 +RMD160 ecf95813b4a3ca90ffd9e1c32ce14db1f69c4891 files/digest-centericq-4.20.0-r2 70 +SHA256 62545487949b3e479980d8ea7a2d8642e4d516aaa973042e61a0b8d8bed275bb files/digest-centericq-4.20.0-r2 70 MD5 cb21aa5d990cbba3ea7fde0c48731fe2 files/digest-centericq-4.20.0-r3 70 +RMD160 ecf95813b4a3ca90ffd9e1c32ce14db1f69c4891 files/digest-centericq-4.20.0-r3 70 +SHA256 62545487949b3e479980d8ea7a2d8642e4d516aaa973042e61a0b8d8bed275bb files/digest-centericq-4.20.0-r3 70 MD5 da3f03f51a55055f887cd8f39f4a3126 files/digest-centericq-4.21.0 70 +RMD160 22906d10f81b0392d34740290b7fd572957ac5ef files/digest-centericq-4.21.0 70 +SHA256 c0f3ebd6f0d0d54a7134b26179358239f6d6cd201035abf4b80d4514412c620b files/digest-centericq-4.21.0 70 MD5 da3f03f51a55055f887cd8f39f4a3126 files/digest-centericq-4.21.0-r1 70 +RMD160 22906d10f81b0392d34740290b7fd572957ac5ef files/digest-centericq-4.21.0-r1 70 +SHA256 c0f3ebd6f0d0d54a7134b26179358239f6d6cd201035abf4b80d4514412c620b files/digest-centericq-4.21.0-r1 70 MD5 da3f03f51a55055f887cd8f39f4a3126 files/digest-centericq-4.21.0-r2 70 +RMD160 22906d10f81b0392d34740290b7fd572957ac5ef files/digest-centericq-4.21.0-r2 70 +SHA256 c0f3ebd6f0d0d54a7134b26179358239f6d6cd201035abf4b80d4514412c620b files/digest-centericq-4.21.0-r2 70 MD5 4588dc7b14345d6b88f07edc9d82c682 metadata.xml 555 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDwG4w8zY1VwezZiERAjYuAJ9f7NYg+qztrqTWrVmehJxZLlmo5QCfYjvz -A+xhJHvF0FsIaLADbB989mw= -=nGxL ------END PGP SIGNATURE----- +RMD160 43c240af3c370991986fe4feb2650bdd5ca7430d metadata.xml 555 +SHA256 114162fa46c42af9e3d27545cabc8ea93f7bb40cd6f5dca8de5369f8d2a08548 metadata.xml 555 diff --git a/net-im/centericq/centericq-4.20.0-r2.ebuild b/net-im/centericq/centericq-4.20.0-r2.ebuild index 246f13da6f83..28d8d4f3b6ae 100644 --- a/net-im/centericq/centericq-4.20.0-r2.ebuild +++ b/net-im/centericq/centericq-4.20.0-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/centericq-4.20.0-r2.ebuild,v 1.1 2005/07/18 16:34:37 wschlich Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/centericq-4.20.0-r2.ebuild,v 1.2 2006/02/17 16:38:52 blubb Exp $ inherit eutils @@ -28,7 +28,7 @@ src_unpack() { cd ${S} # security fix, see CAN-2005-1914 -- from CenterICQ CVS, 20050718 - epatch ${FILESDIR}/${P}.CAN-2005-1914.patch.bz2 + epatch ${FILESDIR}/${P}.CAN-2005-1914.patch use amd64 && epatch ${FILESDIR}/${PN}-amd64.patch } diff --git a/net-im/centericq/centericq-4.20.0-r3.ebuild b/net-im/centericq/centericq-4.20.0-r3.ebuild index 2ec184596b5f..30d17b94fade 100644 --- a/net-im/centericq/centericq-4.20.0-r3.ebuild +++ b/net-im/centericq/centericq-4.20.0-r3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/centericq-4.20.0-r3.ebuild,v 1.7 2005/09/09 17:42:16 wschlich Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/centericq-4.20.0-r3.ebuild,v 1.8 2006/02/17 16:38:52 blubb Exp $ inherit eutils @@ -27,7 +27,7 @@ src_unpack() { unpack ${A} cd ${S} # security fix, see CAN-2005-1914 -- from CenterICQ CVS, 20050718 - epatch ${FILESDIR}/${P}.CAN-2005-1914.patch.bz2 + epatch ${FILESDIR}/${P}.CAN-2005-1914.patch use amd64 && epatch ${FILESDIR}/${PN}-amd64.patch } diff --git a/net-im/centericq/centericq-4.21.0-r1.ebuild b/net-im/centericq/centericq-4.21.0-r1.ebuild index 74cd86f2dbb3..bb0744fd2910 100644 --- a/net-im/centericq/centericq-4.21.0-r1.ebuild +++ b/net-im/centericq/centericq-4.21.0-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/centericq-4.21.0-r1.ebuild,v 1.5 2005/11/27 19:59:40 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/centericq-4.21.0-r1.ebuild,v 1.6 2006/02/17 16:38:52 blubb Exp $ inherit eutils @@ -30,8 +30,8 @@ src_unpack() { use amd64 && epatch ${FILESDIR}/${PN}-amd64.patch # fix bug #100519 - epatch ${FILESDIR}/${P}-icq-short-read.diff.bz2 - epatch ${FILESDIR}/${P}-memory-handling.diff.bz2 + epatch ${FILESDIR}/${P}-icq-short-read.diff + epatch ${FILESDIR}/${P}-memory-handling.diff } src_compile() { diff --git a/net-im/centericq/centericq-4.21.0-r2.ebuild b/net-im/centericq/centericq-4.21.0-r2.ebuild index bea07f7f1715..3bd40d7cc722 100644 --- a/net-im/centericq/centericq-4.21.0-r2.ebuild +++ b/net-im/centericq/centericq-4.21.0-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/centericq-4.21.0-r2.ebuild,v 1.6 2005/12/17 10:10:28 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/centericq-4.21.0-r2.ebuild,v 1.7 2006/02/17 16:38:52 blubb Exp $ inherit eutils @@ -30,11 +30,11 @@ src_unpack() { use amd64 && epatch ${FILESDIR}/${PN}-amd64.patch # fix bug #100519 - epatch ${FILESDIR}/${P}-icq-short-read.diff.bz2 - epatch ${FILESDIR}/${P}-memory-handling.diff.bz2 + epatch ${FILESDIR}/${P}-icq-short-read.diff + epatch ${FILESDIR}/${P}-memory-handling.diff # fix bug #114038 - epatch ${FILESDIR}/${P}-ktools.diff.bz2 + epatch ${FILESDIR}/${P}-ktools.diff } src_compile() { diff --git a/net-im/centericq/files/centericq-4.20.0.CAN-2005-1914.patch b/net-im/centericq/files/centericq-4.20.0.CAN-2005-1914.patch new file mode 100644 index 000000000000..493fa983878a --- /dev/null +++ b/net-im/centericq/files/centericq-4.20.0.CAN-2005-1914.patch @@ -0,0 +1,25 @@ +diff -urN centericq-4.20.0.orig/src/hooks/gaduhook.cc centericq-4.20.0/src/hooks/gaduhook.cc +--- centericq-4.20.0.orig/src/hooks/gaduhook.cc 2005-01-19 00:20:17.000000000 +0100 ++++ centericq-4.20.0/src/hooks/gaduhook.cc 2005-07-18 18:16:20.811398216 +0200 +@@ -1,7 +1,7 @@ + /* + * + * centericq gadu-gadu protocol handling class +-* $Id: centericq-4.20.0.CAN-2005-1914.patch,v 1.1 2006/02/17 16:38:52 blubb Exp $ ++* $Id: centericq-4.20.0.CAN-2005-1914.patch,v 1.1 2006/02/17 16:38:52 blubb Exp $ + * + * Copyright (C) 2004 by Konstantin Klyagin + * +@@ -906,8 +906,10 @@ + if(!(t = (struct gg_token *) h->data) || !h->body) + return ""; + +- fname = (getenv("TMPDIR") ? getenv("TMPDIR") : "/tmp"); +- fname += "/gg.token." + i2str(getpid()); ++ do { ++ fname = (getenv("TMPDIR") ? getenv("TMPDIR") : "/tmp"); ++ fname += "/gg.token." + i2str(getpid()) + i2str(time(0)); ++ } while(!access(fname.c_str(), F_OK)); + + ofstream bf(fname.c_str()); + diff --git a/net-im/centericq/files/centericq-4.20.0.CAN-2005-1914.patch.bz2 b/net-im/centericq/files/centericq-4.20.0.CAN-2005-1914.patch.bz2 deleted file mode 100644 index 6764821aaa690eaa7bd9343e4e5ab46e0ae41f5c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 576 zcmV-G0>Ax2T4*^jL0KkKS#D55)&Kz_Uw~pTbbtT<&nwgbzwiIbg|ImW1KbP>so@K6RcoE0gaY=nf?qr#zihTB^@xQ<@xqm4VrT|29OZD4 zXYm%I5$da`eM;{nnCkNOSha@~6Xk!Q4anG8G~mlaq;5;;3fVg|mpRFE=3R zv1%qLq*TRdaoP%EDB*2@sqPxhjBO1S))j=|T}4vn(!goYpiY> length; ++ if (length == 0) return; // short read, toss it back (nothing to do) + if (length > Incoming_Packet_Limit) throw ParseException("Received too long incoming packet"); + if (m_recv.remains() < length) return; // waiting for more of the packet + diff --git a/net-im/centericq/files/centericq-4.21.0-icq-short-read.diff.bz2 b/net-im/centericq/files/centericq-4.21.0-icq-short-read.diff.bz2 deleted file mode 100644 index 3a0ee3b42fbc16a215375fff276f31ab78bffd4f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 333 zcmV-T0kZx=T4*^jL0KkKS>2zZ-2ebH-+&kpP;d2*P9#tOzwiIRFaaj5pp`V9rlx5g zq93NH+A^M?&kj4Y+osA#czm}Z1f~6%4T|$8_C4Z zUm|)ae8Qn4fQ6tz*EW{L6sEx3WfYq6LiF2;#4ct7{6XM}&tn3EY{m9?o){9M%yO_41g3P{YTOzivXjE1@kUYh6tM{^QL> zqaxM5lGXlq+v0nv7Sylq|ku`DbgfeVGU>0+lr{ diff --git a/net-im/centericq/files/centericq-4.21.0-ktools.diff b/net-im/centericq/files/centericq-4.21.0-ktools.diff new file mode 100644 index 000000000000..4433a7202bee --- /dev/null +++ b/net-im/centericq/files/centericq-4.21.0-ktools.diff @@ -0,0 +1,12 @@ +diff -ruN centericq-4.21.0.orig/kkstrtext-0.1/kkstrtext.h centericq-4.21.0/kkstrtext-0.1/kkstrtext.h +--- centericq-4.21.0.orig/kkstrtext-0.1/kkstrtext.h 2004-11-17 23:00:38.000000000 +0000 ++++ centericq-4.21.0/kkstrtext-0.1/kkstrtext.h 2005-12-13 18:34:56.308723728 +0000 +@@ -87,7 +87,7 @@ + { \ + va_list vgs__ap; char vgs__buf[1024]; \ + va_start(vgs__ap, fmt); \ +- vsprintf(vgs__buf, fmt, vgs__ap); c = vgs__buf; \ ++ vsnprintf(vgs__buf, sizeof(vgs__buf), fmt, vgs__ap); c = vgs__buf; \ + va_end(vgs__ap); \ + } + diff --git a/net-im/centericq/files/centericq-4.21.0-ktools.diff.bz2 b/net-im/centericq/files/centericq-4.21.0-ktools.diff.bz2 deleted file mode 100644 index 14249140e05959d244082427826f222b8bcd4c80..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 300 zcmV+{0n`3MT4*^jL0KkKSp!H{(*OXM-+*E;KyUxrKmh;_zwiHAFaa3QF`=QL10kRQ z000D3{Y+EZfEt)hFq&v!0yH!dM1l`Vp_FE$X)!eQG&Bu1nv@d_aO)&(SZs3>PV=aP z0~u_y722W1Yj9yxyG1f;7xwd~C}t1WVyuH!p|WCQIW;3dH}K)ZphR%9Xigk)gbr*p z!0I8y99l<-bkdfy$P$OC0632zfDT6`kaialK>#pg9bE`j!6_1Pbf1Zp4Y8~%UW0hn zb(#Xj)g$2}n!P$a?Qu?*;B}0gg9*V=*~&$aB4Q~ULmk0$1^Rjccp2$e%E1w`oyd~9 y0uqLkSqgyN$s)SSDb5CJyDR{PfRF|p2f$wI2#m~`IZzS6{}*yaI8cxSNLSMdhkI%O diff --git a/net-im/centericq/files/centericq-4.21.0-memory-handling.diff b/net-im/centericq/files/centericq-4.21.0-memory-handling.diff new file mode 100644 index 000000000000..5249e73d2689 --- /dev/null +++ b/net-im/centericq/files/centericq-4.21.0-memory-handling.diff @@ -0,0 +1,26 @@ +--- centericq-4.21.0.orig/src/icqface.cc ++++ centericq-4.21.0/src/icqface.cc +@@ -2003,7 +2003,7 @@ + mvaddchnstr(i-1, sizeWArea.x1+1, logline, sizeWArea.x2-sizeWArea.x1); + } + +- delete logline; ++ delete[] logline; + + if(text.size() > sizeWArea.x2-sizeWArea.x1-2) text.resize(sizeWArea.x2-sizeWArea.x1-2); + mvhline(LINES-3, sizeWArea.x1+2, ' ', sizeWArea.x2-sizeWArea.x1-2); +only in patch2: +unchanged: +--- centericq-4.21.0.orig/kkstrtext-0.1/kkstrtext.cc ++++ centericq-4.21.0/kkstrtext-0.1/kkstrtext.cc +@@ -907,8 +907,8 @@ + r += soutbuf; + text.erase(0, text.size()-inleft); + +- delete soutbuf; +- delete sinbuf; ++ delete[] soutbuf; ++ free(sinbuf); + + if(res == -1 && errno != EILSEQ) + break; diff --git a/net-im/centericq/files/centericq-4.21.0-memory-handling.diff.bz2 b/net-im/centericq/files/centericq-4.21.0-memory-handling.diff.bz2 deleted file mode 100644 index 2f9e216275db4a33b95c9e64e5ba334b60f96afe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 399 zcmV;A0dW38T4*^jL0KkKStTy-AOHYd-+(|cVekC=VkIbwKkxr?Fadhn*aWGl5u-yU zgF`@QG!IZ|=>tHOG9+p00ie(TXaE7DKoUrTW`Q)(ks1R=KmgEYqtHN{a76dLPTGtd z$i+Bz@T$Tp?s&g%SPU#o;hJJwX^yZV9Uxc+1#E!{#YRJ3WVRK#1@n;>gum z08SdmI2BqFws?VrQ3ZlnZ`fo=qNkSSU3?_qgrfxwO3E1{2FBq9QXrxtrlgWU)QmVpWhon5g$R@@kSmap4+66kc$L)=R`o%hxhN0f zYo1qeU~Y02jDfT&u^MkvsHvvaa|9bTlfWjibzWsvTq^IHGk}gd@SZ@hvC{)vB{Gp< t@sklSU|WDuND`NKkO0Dztr`FT -- 2.26.2