From 2d14dea0bbf71c4afe79fbd5c9968c921477b069 Mon Sep 17 00:00:00 2001 From: Jason Wever Date: Sun, 28 Mar 2004 19:17:16 +0000 Subject: Added patch for sparc and ~sparc keyword wrt bug #42928. --- net-im/jit/ChangeLog | 6 +++++- net-im/jit/files/jit-sparc.patch | 11 +++++++++++ net-im/jit/jit-1.1.6-r2.ebuild | 8 +++++--- 3 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 net-im/jit/files/jit-sparc.patch (limited to 'net-im') diff --git a/net-im/jit/ChangeLog b/net-im/jit/ChangeLog index c27d6f3ce7f9..5dcc05e46e3e 100644 --- a/net-im/jit/ChangeLog +++ b/net-im/jit/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-im/jit # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/jit/ChangeLog,v 1.5 2004/03/15 19:21:06 rizzo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/jit/ChangeLog,v 1.6 2004/03/28 19:17:16 weeve Exp $ + + 28 Mar 2004; Jason Wever jit-1.1.6-r2.ebuild, + files/jit-sparc.patch: + Added patch for sparc and ~sparc keyword wrt bug #42928. 15 Mar 2004; Don Seiler ; jit-1.1.6-r2.ebuild: Bumping to stable since -r1 has gcc failures diff --git a/net-im/jit/files/jit-sparc.patch b/net-im/jit/files/jit-sparc.patch new file mode 100644 index 000000000000..a53e0d013d11 --- /dev/null +++ b/net-im/jit/files/jit-sparc.patch @@ -0,0 +1,11 @@ +--- configure.orig 2004-03-28 11:32:08.000000000 -0700 ++++ configure 2004-03-28 11:33:25.000000000 -0700 +@@ -49,7 +49,7 @@ + hosttype=`uname -s` + case $hosttype in + Linux) +- CFLAGS="$CFLAGS -I/usr/include -fPIC" ++ CFLAGS="$CFLAGS -I/usr/include -fPIC -DSUNOS" + LIBS="$LIBS -ldl -lpthread";; + FreeBSD) + CFLAGS="$CFLAGS -I/usr/local/include -I/usr/src/contrib/libstdc++ -D_THREAD_SAFE -DSUNOS" diff --git a/net-im/jit/jit-1.1.6-r2.ebuild b/net-im/jit/jit-1.1.6-r2.ebuild index ddf451cc8f2c..8b4ba31d8ac8 100644 --- a/net-im/jit/jit-1.1.6-r2.ebuild +++ b/net-im/jit/jit-1.1.6-r2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/jit/jit-1.1.6-r2.ebuild,v 1.2 2004/03/15 19:21:06 rizzo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/jit/jit-1.1.6-r2.ebuild,v 1.3 2004/03/28 19:17:16 weeve Exp $ + +inherit flag-o-matic DESCRIPTION="ICQ transport for WPjabber/Jabberd" HOMEPAGE="http://jit.jabberstudio.org/" @@ -11,14 +13,14 @@ SLOT="0" IUSE="" -KEYWORDS="x86" +KEYWORDS="x86 ~sparc" DEPEND="" RDEPEND=">=net-im/jabberd-1.4.3" - src_compile() { epatch ${FILESDIR}/jit-patch-00 + [ `use sparc` ] && epatch ${FILESDIR}/jit-sparc.patch ./configure emake || die cp ${S}/jabberd/jabberd ${S}/jabberd/jit-wpjabber -- cgit v1.2.3-65-gdbad