summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-01-15 01:36:43 +0000
committerJonathan Callen <abcd@gentoo.org>2010-01-15 01:36:43 +0000
commite223e297e9ecf3ae5b84e7f10575443213b7b1a8 (patch)
tree39f45d4d69d3936cfee1840709fdf126f23fd7e7 /app-arch
parentVersion bump (diff)
downloadgentoo-2-e223e297e9ecf3ae5b84e7f10575443213b7b1a8.tar.gz
gentoo-2-e223e297e9ecf3ae5b84e7f10575443213b7b1a8.tar.bz2
gentoo-2-e223e297e9ecf3ae5b84e7f10575443213b7b1a8.zip
Add prefix keywords; patch for interix
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/sharutils/ChangeLog8
-rw-r--r--app-arch/sharutils/files/sharutils-4.6.3-interix.patch26
-rw-r--r--app-arch/sharutils/sharutils-4.7.ebuild15
3 files changed, 43 insertions, 6 deletions
diff --git a/app-arch/sharutils/ChangeLog b/app-arch/sharutils/ChangeLog
index 0e4dcbcf20ee..7096c09346e6 100644
--- a/app-arch/sharutils/ChangeLog
+++ b/app-arch/sharutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/sharutils
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/ChangeLog,v 1.62 2009/03/18 14:40:45 ricmm Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/ChangeLog,v 1.63 2010/01/15 01:36:42 abcd Exp $
+
+ 15 Jan 2010; Jonathan Callen <abcd@gentoo.org>
+ +files/sharutils-4.6.3-interix.patch, sharutils-4.7.ebuild:
+ Add prefix keywords; patch for interix
18 Mar 2009; <ricmm@gentoo.org> sharutils-4.6.3.ebuild:
Drop down to ~mips due to unstable deps
diff --git a/app-arch/sharutils/files/sharutils-4.6.3-interix.patch b/app-arch/sharutils/files/sharutils-4.6.3-interix.patch
new file mode 100644
index 000000000000..4421d342a0f4
--- /dev/null
+++ b/app-arch/sharutils/files/sharutils-4.6.3-interix.patch
@@ -0,0 +1,26 @@
+--- sharutils-4.6.3.orig/lib/inttostr.h
++++ sharutils-4.6.3/lib/inttostr.h
+@@ -26,6 +26,10 @@
+ # include <inttypes.h>
+ #endif
+
++#if HAVE_STDINT_H
++# include <stdint.h>
++#endif
++
+ #if HAVE_LIMITS_H
+ # include <limits.h>
+ #endif
+--- sharutils-4.6.3.orig/lib/system.h
++++ sharutils-4.6.3/lib/system.h
+@@ -24,6 +24,10 @@
+ # include <inttypes.h>
+ #endif
+
++#if HAVE_STDINT_H
++# include <stdint.h>
++#endif
++
+ #ifndef HAVE_INTMAX_T
+ #define HAVE_INTMAX_T
+ typedef long intmax_t;
diff --git a/app-arch/sharutils/sharutils-4.7.ebuild b/app-arch/sharutils/sharutils-4.7.ebuild
index 978fe424ae42..b6138f68aad9 100644
--- a/app-arch/sharutils/sharutils-4.7.ebuild
+++ b/app-arch/sharutils/sharutils-4.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.7.ebuild,v 1.8 2009/02/07 15:04:21 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.7.ebuild,v 1.9 2010/01/15 01:36:42 abcd Exp $
inherit eutils
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/REL-${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="nls"
DEPEND="sys-apps/texinfo
@@ -19,9 +19,16 @@ DEPEND="sys-apps/texinfo
S=${WORKDIR}/${MY_P}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-4.6.3-interix.patch
+}
+
src_compile() {
strip-linguas -u po
- econf $(use_enable nls) || die
+ econf $(use_enable nls)
emake || die "emake failed"
}