summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wever <weeve@gentoo.org>2004-03-28 19:17:16 +0000
committerJason Wever <weeve@gentoo.org>2004-03-28 19:17:16 +0000
commit2d14dea0bbf71c4afe79fbd5c9968c921477b069 (patch)
tree57e68801bb30445aeefd534ed98cb25f8611a959 /net-im/jit
parentforgot the patch :P (diff)
downloadgentoo-2-2d14dea0bbf71c4afe79fbd5c9968c921477b069.tar.gz
gentoo-2-2d14dea0bbf71c4afe79fbd5c9968c921477b069.tar.bz2
gentoo-2-2d14dea0bbf71c4afe79fbd5c9968c921477b069.zip
Added patch for sparc and ~sparc keyword wrt bug #42928.
Diffstat (limited to 'net-im/jit')
-rw-r--r--net-im/jit/ChangeLog6
-rw-r--r--net-im/jit/files/jit-sparc.patch11
-rw-r--r--net-im/jit/jit-1.1.6-r2.ebuild8
3 files changed, 21 insertions, 4 deletions
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 <weeve@gentoo.org> 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 <rizzo@gentoo.org>; 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