summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-01-27 10:40:18 +0000
committerJohannes Huber <johu@gentoo.org>2012-01-27 10:40:18 +0000
commit2c3b6310d0623e5dd4934006fb55c73d496c2cf6 (patch)
tree4c3eb21c9f7897cf8ac1d270a2ea44ea278f5ebc /net-im/ktp-presence-applet
parentFix repoman warning. (diff)
downloadhistorical-2c3b6310d0623e5dd4934006fb55c73d496c2cf6.tar.gz
historical-2c3b6310d0623e5dd4934006fb55c73d496c2cf6.tar.bz2
historical-2c3b6310d0623e5dd4934006fb55c73d496c2cf6.zip
Add patch which makes multi linguas build working, fixes bug #400955.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'net-im/ktp-presence-applet')
-rw-r--r--net-im/ktp-presence-applet/ChangeLog9
-rw-r--r--net-im/ktp-presence-applet/files/ktp-presence-applet-0.3.0-fix-multi-linguas.patch26
-rw-r--r--net-im/ktp-presence-applet/ktp-presence-applet-0.3.0-r1.ebuild (renamed from net-im/ktp-presence-applet/ktp-presence-applet-0.3.0.ebuild)6
3 files changed, 39 insertions, 2 deletions
diff --git a/net-im/ktp-presence-applet/ChangeLog b/net-im/ktp-presence-applet/ChangeLog
index f6721176846b..b48d44935937 100644
--- a/net-im/ktp-presence-applet/ChangeLog
+++ b/net-im/ktp-presence-applet/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-im/ktp-presence-applet
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/ktp-presence-applet/ChangeLog,v 1.1 2012/01/25 22:53:24 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/ktp-presence-applet/ChangeLog,v 1.2 2012/01/27 10:36:33 johu Exp $
+
+*ktp-presence-applet-0.3.0-r1 (27 Jan 2012)
+
+ 27 Jan 2012; Johannes Huber <johu@gentoo.org>
+ +files/ktp-presence-applet-0.3.0-fix-multi-linguas.patch,
+ +ktp-presence-applet-0.3.0-r1.ebuild, -ktp-presence-applet-0.3.0.ebuild:
+ Add patch which makes multi linguas build working, fixes bug #400955.
*ktp-presence-applet-0.3.0 (25 Jan 2012)
diff --git a/net-im/ktp-presence-applet/files/ktp-presence-applet-0.3.0-fix-multi-linguas.patch b/net-im/ktp-presence-applet/files/ktp-presence-applet-0.3.0-fix-multi-linguas.patch
new file mode 100644
index 000000000000..b15893cfa28b
--- /dev/null
+++ b/net-im/ktp-presence-applet/files/ktp-presence-applet-0.3.0-fix-multi-linguas.patch
@@ -0,0 +1,26 @@
+From 905feca0b9ddd4aeba6995a2ead4f82a92f7aef6 Mon Sep 17 00:00:00 2001
+From: Johannes Huber <johu@gentoo.org>
+Date: Fri, 27 Jan 2012 11:24:43 +0100
+Subject: [PATCH] Add cmake policy to handle multi lang build.
+
+---
+ CMakeLists.txt | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8e2c1de..9754e04 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,6 +2,9 @@ project(ktp-presence-applet)
+
+ cmake_minimum_required(VERSION 2.8)
+
++# Workaround to handle multi language build
++cmake_policy(SET CMP0002 OLD)
++
+ set(CMAKE_MODULE_PATH
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules"
+ ${CMAKE_MODULE_PATH}
+--
+1.7.8.4
+
diff --git a/net-im/ktp-presence-applet/ktp-presence-applet-0.3.0.ebuild b/net-im/ktp-presence-applet/ktp-presence-applet-0.3.0-r1.ebuild
index 3a029cfd9874..f1caf5bd21b8 100644
--- a/net-im/ktp-presence-applet/ktp-presence-applet-0.3.0.ebuild
+++ b/net-im/ktp-presence-applet/ktp-presence-applet-0.3.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/ktp-presence-applet/ktp-presence-applet-0.3.0.ebuild,v 1.1 2012/01/25 22:53:24 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/ktp-presence-applet/ktp-presence-applet-0.3.0-r1.ebuild,v 1.1 2012/01/27 10:36:33 johu Exp $
EAPI=4
@@ -27,3 +27,7 @@ DEPEND="
RDEPEND="${DEPEND}
>=net-im/ktp-contact-list-${PV}
"
+
+PATCHES=(
+ "${FILESDIR}/${P}-fix-multi-linguas.patch"
+)