summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-06-07 09:40:21 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-06-07 09:40:21 +0000
commitf6c87e1cc1c465338b4ec97c899abf46f4149493 (patch)
treeac46d5826940d4f68ba686bcb0340bf65f43a9ca /net-irc/rhapsody
parentkeyword ~sparc-fbsd (diff)
downloadgentoo-2-f6c87e1cc1c465338b4ec97c899abf46f4149493.tar.gz
gentoo-2-f6c87e1cc1c465338b4ec97c899abf46f4149493.tar.bz2
gentoo-2-f6c87e1cc1c465338b4ec97c899abf46f4149493.zip
Add a patch to compile with uclibc, by Natanael Copa, bug #219692
(Portage version: 2.1.5.4)
Diffstat (limited to 'net-irc/rhapsody')
-rw-r--r--net-irc/rhapsody/ChangeLog6
-rw-r--r--net-irc/rhapsody/files/rhapsody-0.28b-uclibc.patch10
-rw-r--r--net-irc/rhapsody/rhapsody-0.28b.ebuild9
3 files changed, 23 insertions, 2 deletions
diff --git a/net-irc/rhapsody/ChangeLog b/net-irc/rhapsody/ChangeLog
index 8e450b89ebc4..20f25ba6494b 100644
--- a/net-irc/rhapsody/ChangeLog
+++ b/net-irc/rhapsody/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/rhapsody
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rhapsody/ChangeLog,v 1.8 2008/03/25 18:24:41 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rhapsody/ChangeLog,v 1.9 2008/06/07 09:40:20 armin76 Exp $
+
+ 07 Jun 2008; Raúl Porcel <armin76@gentoo.org>
+ +files/rhapsody-0.28b-uclibc.patch, rhapsody-0.28b.ebuild:
+ Add a patch to compile with uclibc, by Natanael Copa, bug #219692
25 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> rhapsody-0.28b.ebuild:
amd64 stable
diff --git a/net-irc/rhapsody/files/rhapsody-0.28b-uclibc.patch b/net-irc/rhapsody/files/rhapsody-0.28b-uclibc.patch
new file mode 100644
index 000000000000..28196177414f
--- /dev/null
+++ b/net-irc/rhapsody/files/rhapsody-0.28b-uclibc.patch
@@ -0,0 +1,10 @@
+--- rhapsody-0.28b/src/main.c.orig 2008-04-29 09:53:53 +0000
++++ rhapsody-0.28b/src/main.c 2008-04-29 09:55:13 +0000
+@@ -20,6 +20,7 @@
+ /* */
+ /*****************************************************************************/
+
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>
diff --git a/net-irc/rhapsody/rhapsody-0.28b.ebuild b/net-irc/rhapsody/rhapsody-0.28b.ebuild
index d8aeb62db824..9a39bb465a9a 100644
--- a/net-irc/rhapsody/rhapsody-0.28b.ebuild
+++ b/net-irc/rhapsody/rhapsody-0.28b.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rhapsody/rhapsody-0.28b.ebuild,v 1.3 2008/03/25 18:24:41 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rhapsody/rhapsody-0.28b.ebuild,v 1.4 2008/06/07 09:40:20 armin76 Exp $
inherit toolchain-funcs
@@ -15,6 +15,13 @@ IUSE=""
DEPEND=">=sys-libs/ncurses-5.0"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-uclibc.patch
+}
+
src_compile() {
./configure -i /usr/share/rhapsody || die "configure failed"
emake CC="$(tc-getCC)" LOCALFLAGS="${CFLAGS}" || die "emake failed"