summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2006-04-22 11:01:43 +0000
committerCarsten Lohrke <carlo@gentoo.org>2006-04-22 11:01:43 +0000
commit4131598d94f6ed4dd181737dc2360ab8d89cc5ee (patch)
tree8c919c3106615ec538b08bd37f843af4f8d19f0c /kde-base
parentStable on ppc. bug 123462 (diff)
downloadhistorical-4131598d94f6ed4dd181737dc2360ab8d89cc5ee.tar.gz
historical-4131598d94f6ed4dd181737dc2360ab8d89cc5ee.tar.bz2
historical-4131598d94f6ed4dd181737dc2360ab8d89cc5ee.zip
Mem leak fix.
Package-Manager: portage-2.0.54
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/mimelib/ChangeLog8
-rw-r--r--kde-base/mimelib/files/digest-mimelib-3.5.1-r11
-rw-r--r--kde-base/mimelib/files/mimelib-3.5.1-memleak-fix.diff22
-rw-r--r--kde-base/mimelib/mimelib-3.5.1-r1.ebuild14
4 files changed, 44 insertions, 1 deletions
diff --git a/kde-base/mimelib/ChangeLog b/kde-base/mimelib/ChangeLog
index 3dfed6aafc2a..3ca345c6bac0 100644
--- a/kde-base/mimelib/ChangeLog
+++ b/kde-base/mimelib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/mimelib
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/mimelib/ChangeLog,v 1.34 2006/04/06 03:18:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/mimelib/ChangeLog,v 1.35 2006/04/22 11:01:43 carlo Exp $
+
+*mimelib-3.5.1-r1 (22 Apr 2006)
+
+ 22 Apr 2006; Carsten Lohrke <carlo@gentoo.org>
+ +files/mimelib-3.5.1-memleak-fix.diff, +mimelib-3.5.1-r1.ebuild:
+ Mem leak fix.
06 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> -mimelib-3.5.0.ebuild:
Removed old 3.5.0/3.5.1 packages.
diff --git a/kde-base/mimelib/files/digest-mimelib-3.5.1-r1 b/kde-base/mimelib/files/digest-mimelib-3.5.1-r1
new file mode 100644
index 000000000000..2bfcb8caf853
--- /dev/null
+++ b/kde-base/mimelib/files/digest-mimelib-3.5.1-r1
@@ -0,0 +1 @@
+MD5 8e87c9cbe1f0c0f983f94d804a5bc8f9 kdepim-3.5.1.tar.bz2 12885355
diff --git a/kde-base/mimelib/files/mimelib-3.5.1-memleak-fix.diff b/kde-base/mimelib/files/mimelib-3.5.1-memleak-fix.diff
new file mode 100644
index 000000000000..81c00c38bfc8
--- /dev/null
+++ b/kde-base/mimelib/files/mimelib-3.5.1-memleak-fix.diff
@@ -0,0 +1,22 @@
+--- kdepim/mimelib/attach.cpp 2005/07/26 18:54:59 438982
++++ kdepim/mimelib/attach.cpp 2006/04/16 14:28:03 530387
+@@ -217,7 +217,7 @@
+
+ FILE* fp = fopen(aFilename, "rb");
+ if (fp == 0) {
+- delete buf;
++ delete[] buf;
+ str = "";
+ return -1;
+ }
+--- kdepim/mimelib/datetime.cpp 2006/01/06 12:12:33 494852
++++ kdepim/mimelib/datetime.cpp 2006/04/16 14:28:03 530387
+@@ -304,7 +304,7 @@
+ mZone = 0;
+ }
+ if (mustDelete) {
+- delete str;
++ delete[] str;
+ }
+ }
+
diff --git a/kde-base/mimelib/mimelib-3.5.1-r1.ebuild b/kde-base/mimelib/mimelib-3.5.1-r1.ebuild
new file mode 100644
index 000000000000..ce78cbaeb4db
--- /dev/null
+++ b/kde-base/mimelib/mimelib-3.5.1-r1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/mimelib/mimelib-3.5.1-r1.ebuild,v 1.1 2006/04/22 11:01:43 carlo Exp $
+
+KMNAME=kdepim
+MAXKDEVER=3.5.2
+KM_DEPRANGE="$PV $MAXKDEVER"
+inherit kde-meta eutils
+
+DESCRIPTION="KDE mime library"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+PATCHES="${FILESDIR}/mimelib-3.5.1-memleak-fix.diff" \ No newline at end of file