summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-11-11 20:40:18 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-11-11 20:40:18 +0000
commit889a296b8e62046980459d397e5151f20c382bb8 (patch)
treef1c9a72eaa588f3bfa8ccc1398af7452973772cc /app-office/kchart/kchart-1.6.3.ebuild
parent- The use of the hardened flag to control the building of position independen... (diff)
downloadgentoo-2-889a296b8e62046980459d397e5151f20c382bb8.tar.gz
gentoo-2-889a296b8e62046980459d397e5151f20c382bb8.tar.bz2
gentoo-2-889a296b8e62046980459d397e5151f20c382bb8.zip
Added a minor fix for the desktop file as per bug 190006. Thanks to gentoofan23 for providing the patch!
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-office/kchart/kchart-1.6.3.ebuild')
-rw-r--r--app-office/kchart/kchart-1.6.3.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/app-office/kchart/kchart-1.6.3.ebuild b/app-office/kchart/kchart-1.6.3.ebuild
index 8dfd2df301a7..51579dbaaa8d 100644
--- a/app-office/kchart/kchart-1.6.3.ebuild
+++ b/app-office/kchart/kchart-1.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/kchart/kchart-1.6.3.ebuild,v 1.8 2007/07/26 17:07:45 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/kchart/kchart-1.6.3.ebuild,v 1.9 2007/11/11 20:40:18 philantrop Exp $
MAXKOFFICEVER=${PV}
KMNAME=koffice
@@ -42,7 +42,10 @@ src_unpack() {
kde-meta_src_unpack unpack
# We need to compile liboofilter first
- echo "SUBDIRS = libdialogfilter kchart" > $S/filters/Makefile.am
+ echo "SUBDIRS = libdialogfilter kchart" > "$S"/filters/Makefile.am
+
+ # Fixing desktop files, cf. bug 190006
+ sed -i -e "/^MimeType/{ /[^;]$/{ s/$/;/ } }" "${S}"/kchart/kchart.desktop
kde-meta_src_unpack makefiles
}