summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-27 01:09:29 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-27 01:09:29 +0000
commitf83a4f01cebe3736490bb69fc44cfd014098ece9 (patch)
tree1925d314070cffd16037ac3852fdf0d4bf82d5f3 /sys-libs/newlib
parentVersion bump. (diff)
downloadgentoo-2-f83a4f01cebe3736490bb69fc44cfd014098ece9.tar.gz
gentoo-2-f83a4f01cebe3736490bb69fc44cfd014098ece9.tar.bz2
gentoo-2-f83a4f01cebe3736490bb69fc44cfd014098ece9.zip
Add fix from upstream for arm* targets #413547 by Christopher Friedt.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/newlib')
-rw-r--r--sys-libs/newlib/ChangeLog6
-rw-r--r--sys-libs/newlib/files/newlib-1.20.0-arm-targets.patch55
-rw-r--r--sys-libs/newlib/newlib-1.20.0.ebuild3
3 files changed, 62 insertions, 2 deletions
diff --git a/sys-libs/newlib/ChangeLog b/sys-libs/newlib/ChangeLog
index c7e07c11caf2..f06be1162125 100644
--- a/sys-libs/newlib/ChangeLog
+++ b/sys-libs/newlib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/newlib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.17 2012/03/23 23:09:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.18 2012/04/27 01:09:29 vapier Exp $
+
+ 27 Apr 2012; Mike Frysinger <vapier@gentoo.org>
+ +files/newlib-1.20.0-arm-targets.patch, newlib-1.20.0.ebuild:
+ Add fix from upstream for arm* targets #413547 by Christopher Friedt.
23 Mar 2012; Mike Frysinger <vapier@gentoo.org> newlib-1.20.0.ebuild,
+files/newlib-1.20.0-cris-install.patch:
diff --git a/sys-libs/newlib/files/newlib-1.20.0-arm-targets.patch b/sys-libs/newlib/files/newlib-1.20.0-arm-targets.patch
new file mode 100644
index 000000000000..1704cc0ba7f4
--- /dev/null
+++ b/sys-libs/newlib/files/newlib-1.20.0-arm-targets.patch
@@ -0,0 +1,55 @@
+https://bugs.gentoo.org/413547
+
+From 3b98b99eaa23f242b984af8cbf4a0e707bc7eae8 Mon Sep 17 00:00:00 2001
+From: Corinna Vinschen <corinna@vinschen.de>
+Date: Thu, 23 Feb 2012 09:30:17 +0000
+Subject: [PATCH] * configure.host: Accept "arm*" host spec instead of
+ just "arm".
+
+---
+ newlib/ChangeLog | 4 ++++
+ newlib/configure.host | 8 ++++----
+ 2 files changed, 8 insertions(+), 4 deletions(-)
+
++2012-02-23 Dan Egnor <egnor@ofb.net>
+
+ * configure.host: Accept "arm*" host spec instead of just "arm".
+
+diff --git a/newlib/configure.host b/newlib/configure.host
+index a6673af..dc44e80 100644
+--- a/newlib/configure.host
++++ b/newlib/configure.host
+@@ -98,7 +98,7 @@ case "${host_cpu}" in
+ arc)
+ machine_dir=
+ ;;
+- arm)
++ arm*)
+ machine_dir=arm
+ ;;
+ avr*)
+@@ -367,7 +367,7 @@ case "${host}" in
+ arc-*-*)
+ sys_dir=arc
+ ;;
+- arm-*-*)
++ arm*-*-*)
+ sys_dir=arm
+ if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then
+ have_crt0="no"
+@@ -560,10 +560,10 @@ case "${host}" in
+ arc-*-*)
+ syscall_dir=syscalls
+ ;;
+- arm-*-pe)
++ arm*-*-pe)
+ syscall_dir=syscalls
+ ;;
+- arm-*-*)
++ arm*-*-*)
+ syscall_dir=syscalls
+ # If newlib is supplying syscalls, select which debug protocol is being used.
+ # ARM_RDP_MONITOR selects the Demon monitor.
+--
+1.7.8.5
+
diff --git a/sys-libs/newlib/newlib-1.20.0.ebuild b/sys-libs/newlib/newlib-1.20.0.ebuild
index 29ea3b99ba94..7a90a43dccb2 100644
--- a/sys-libs/newlib/newlib-1.20.0.ebuild
+++ b/sys-libs/newlib/newlib-1.20.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.20.0.ebuild,v 1.2 2012/03/23 23:09:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.20.0.ebuild,v 1.3 2012/04/27 01:09:29 vapier Exp $
EAPI="4"
@@ -40,6 +40,7 @@ pkg_setup() {
src_prepare() {
epatch "${FILESDIR}"/${P}-cris-install.patch
+ epatch "${FILESDIR}"/${P}-arm-targets.patch #413547
}
src_configure() {