summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kkbswitch/ChangeLog9
-rw-r--r--kde-misc/kkbswitch/files/1.4.3-fix-ldflags.patch12
-rw-r--r--kde-misc/kkbswitch/kkbswitch-1.4.3.ebuild10
3 files changed, 26 insertions, 5 deletions
diff --git a/kde-misc/kkbswitch/ChangeLog b/kde-misc/kkbswitch/ChangeLog
index 5f87bd868667..6ed49d6d9505 100644
--- a/kde-misc/kkbswitch/ChangeLog
+++ b/kde-misc/kkbswitch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-misc/kkbswitch
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kkbswitch/ChangeLog,v 1.7 2007/02/03 21:47:22 flameeyes Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kkbswitch/ChangeLog,v 1.8 2009/06/13 23:40:55 scarabeus Exp $
+
+ 13 Jun 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/1.4.3-fix-ldflags.patch, kkbswitch-1.4.3.ebuild:
+ Fix compilation issue with not respecting ldflags. Per bug #243032. Fix
+ slot.
03 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/kde-misc/kkbswitch/files/1.4.3-fix-ldflags.patch b/kde-misc/kkbswitch/files/1.4.3-fix-ldflags.patch
new file mode 100644
index 000000000000..4246bea51fc5
--- /dev/null
+++ b/kde-misc/kkbswitch/files/1.4.3-fix-ldflags.patch
@@ -0,0 +1,12 @@
+diff -Nuar kkbswitch-1.4.3.old/kkbswitch/Makefile.in kkbswitch-1.4.3/kkbswitch/Makefile.in
+--- kkbswitch-1.4.3.old/kkbswitch/Makefile.in 2005-01-24 00:07:33.000000000 +0600
++++ kkbswitch-1.4.3/kkbswitch/Makefile.in 2009-03-12 14:45:17.000000000 +0600
+@@ -260,7 +260,7 @@
+ #>- METASOURCES = AUTO
+
+ bin_PROGRAMS = kkbswitch
+-kkbswitch_LDFLAGS = $(KDE_RPATH) $(all_libraries)
++kkbswitch_LDFLAGS = $(KDE_RPATH) $(KDE_LDFLAGS) $(all_libraries)
+ #>- kkbswitch_SOURCES = boldlistboxitem.cpp boldmenuitem.cpp kbconfig.cpp kbconfigdlg.cpp kbgroup.cpp kbpickicondlg.cpp kbswitchapp.cpp kbswitchintf.cpp kbswitchtrayicon.cpp main.cpp pathlistboxitem.cpp xkeyboard.cpp kbswitchintf.skel boldlistboxitem.h boldmenuitem.h kbconfigdlg.h kbconfig.h kbgroup.h kbpickicondlg.h kbswitchapp.h kbswitchintf.h kbswitchtrayicon.h pathlistboxitem.h xkeyboard.h windowwatcher.cpp singlewindowwatcher.cpp windowclasswatcher.cpp
+ #>+ 1
+ kkbswitch_SOURCES=boldlistboxitem.cpp boldmenuitem.cpp kbconfig.cpp kbconfigdlg.cpp kbgroup.cpp kbpickicondlg.cpp kbswitchapp.cpp kbswitchintf.cpp kbswitchtrayicon.cpp main.cpp pathlistboxitem.cpp xkeyboard.cpp boldlistboxitem.h boldmenuitem.h kbconfigdlg.h kbconfig.h kbgroup.h kbpickicondlg.h kbswitchapp.h kbswitchintf.h kbswitchtrayicon.h pathlistboxitem.h xkeyboard.h windowwatcher.cpp singlewindowwatcher.cpp windowclasswatcher.cpp kbswitchintf_skel.cpp
diff --git a/kde-misc/kkbswitch/kkbswitch-1.4.3.ebuild b/kde-misc/kkbswitch/kkbswitch-1.4.3.ebuild
index 2b51b9bbd646..9babf93fe00e 100644
--- a/kde-misc/kkbswitch/kkbswitch-1.4.3.ebuild
+++ b/kde-misc/kkbswitch/kkbswitch-1.4.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kkbswitch/kkbswitch-1.4.3.ebuild,v 1.7 2005/12/07 23:57:30 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kkbswitch/kkbswitch-1.4.3.ebuild,v 1.8 2009/06/13 23:40:55 scarabeus Exp $
inherit kde
@@ -9,12 +9,16 @@ HOMEPAGE="http://kkbswitch.sourceforge.net/"
SRC_URI="mirror://sourceforge/kkbswitch/${P}.tar.gz"
LICENSE="GPL-2"
-SLOT="0"
+SLOT="3.5"
KEYWORDS="amd64 ~ppc ~sparc x86"
IUSE=""
need-kde 3.1
+PATCHES=(
+ "${FILESDIR}/${PV}-fix-ldflags.patch"
+)
+
src_install() {
kde_src_install