summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2010-03-01 17:19:08 +0000
committerMichael Haubenwallner <haubi@gentoo.org>2010-03-01 17:19:08 +0000
commite78dc252fa8e260ee1240c214236ba41f4315f46 (patch)
tree2b6cb23154b4a94a8328e47987d696698f8081e9 /net-libs/openmq-cclient
parentVersion bump (snapshot) wrt #306297, thanks to Denilson for reporting. This w... (diff)
downloadgentoo-2-e78dc252fa8e260ee1240c214236ba41f4315f46.tar.gz
gentoo-2-e78dc252fa8e260ee1240c214236ba41f4315f46.tar.bz2
gentoo-2-e78dc252fa8e260ee1240c214236ba41f4315f46.zip
add fix to know gcc on AIX, keyworded ~ppc-aix
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/openmq-cclient')
-rw-r--r--net-libs/openmq-cclient/ChangeLog6
-rw-r--r--net-libs/openmq-cclient/files/openmq-cclient-4.4.1-aix-gcc.patch13
-rw-r--r--net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild6
3 files changed, 22 insertions, 3 deletions
diff --git a/net-libs/openmq-cclient/ChangeLog b/net-libs/openmq-cclient/ChangeLog
index 323dc23603e2..0d98b009cc9e 100644
--- a/net-libs/openmq-cclient/ChangeLog
+++ b/net-libs/openmq-cclient/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/openmq-cclient
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/openmq-cclient/ChangeLog,v 1.1 2010/03/01 16:58:37 haubi Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/openmq-cclient/ChangeLog,v 1.2 2010/03/01 17:19:08 haubi Exp $
+
+ 01 Mar 2010; Michael Haubenwallner <haubi@gentoo.org>
+ openmq-cclient-4.4.1.ebuild, +files/openmq-cclient-4.4.1-aix-gcc.patch:
+ add fix to know gcc on AIX, keyworded ~ppc-aix
*openmq-cclient-4.4.1 (01 Mar 2010)
diff --git a/net-libs/openmq-cclient/files/openmq-cclient-4.4.1-aix-gcc.patch b/net-libs/openmq-cclient/files/openmq-cclient-4.4.1-aix-gcc.patch
new file mode 100644
index 000000000000..e9a9d7281738
--- /dev/null
+++ b/net-libs/openmq-cclient/files/openmq-cclient-4.4.1-aix-gcc.patch
@@ -0,0 +1,13 @@
+Seems they've never seen gcc on AIX.
+
+--- cshim/mqbasictypes.h.orig 2010-03-01 18:00:38 +0100
++++ cshim/mqbasictypes.h 2010-03-01 18:00:58 +0100
+@@ -64,7 +64,7 @@
+ #endif
+ #endif
+
+-#if (defined(__IBMC__) || defined (__IBMCPP__)) && defined(__unix__)
++#if ((defined(__IBMC__) || defined (__IBMCPP__)) && defined(__unix__)) || defined(_AIX)
+ #ifndef AIX
+ #define AIX
+ #endif
diff --git a/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild b/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild
index 3787284541da..dc82f077c26d 100644
--- a/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild
+++ b/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild,v 1.1 2010/03/01 16:58:37 haubi Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild,v 1.2 2010/03/01 17:19:08 haubi Exp $
EAPI="2"
@@ -14,7 +14,7 @@ MY_BUILDV="b7"
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~ppc-aix"
IUSE=""
if [[ $(x=( $(get_all_version_components) ); echo ${x[3]}) == '.' ]]; then
@@ -53,6 +53,8 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/mq/src/share/cclient"
src_prepare() {
+ epatch "${FILESDIR}"/${P}-aix-gcc.patch
+
einfo "avoiding potential conflict with <xa.h>"
mkdir cshim/mq || die
mv cshim/xa.h cshim/mq/ || die