summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2005-05-31 20:00:51 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2005-05-31 20:00:51 +0000
commita80afd69ff32430114c767a2b83aa1f8d9475c01 (patch)
tree6b96cc1c59da8c241681fb4e799f35cab7c4c7d2 /dev-embedded
parentStable on hppa (diff)
downloadhistorical-a80afd69ff32430114c767a2b83aa1f8d9475c01.tar.gz
historical-a80afd69ff32430114c767a2b83aa1f8d9475c01.tar.bz2
historical-a80afd69ff32430114c767a2b83aa1f8d9475c01.zip
Compile fix wrt #94660
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/avr-libc/ChangeLog6
-rw-r--r--dev-embedded/avr-libc/Manifest15
-rw-r--r--dev-embedded/avr-libc/avr-libc-1.2.3.ebuild9
-rw-r--r--dev-embedded/avr-libc/files/avr-libc-macros.patch18
4 files changed, 44 insertions, 4 deletions
diff --git a/dev-embedded/avr-libc/ChangeLog b/dev-embedded/avr-libc/ChangeLog
index 52cea741db33..1618353736eb 100644
--- a/dev-embedded/avr-libc/ChangeLog
+++ b/dev-embedded/avr-libc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-embedded/avr-libc
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.9 2005/05/25 10:20:55 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.10 2005/05/31 20:00:51 gustavoz Exp $
+
+ 31 May 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+ +files/avr-libc-macros.patch, avr-libc-1.2.3.ebuild:
+ Compile fix wrt #94660
25 May 2005; Markus Rothe <corsair@gentoo.org> avr-libc-1.2.3.ebuild:
Added ~ppc64 to KEYWORDS
diff --git a/dev-embedded/avr-libc/Manifest b/dev-embedded/avr-libc/Manifest
index 22c1df9b0286..4a851c82db58 100644
--- a/dev-embedded/avr-libc/Manifest
+++ b/dev-embedded/avr-libc/Manifest
@@ -1,4 +1,15 @@
-MD5 70e58070e3fe0c8427ed6b8c84c5504c ChangeLog 1487
-MD5 78f12541f91386b35e8692549c9ff38d avr-libc-1.2.3.ebuild 924
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 7eaa8947a8812408ed4affaab36ef68e ChangeLog 1624
+MD5 8a3ae3ce5cafc9fcd1f6e7c4e05e1159 avr-libc-1.2.3.ebuild 1011
MD5 d05677e7bc0cae2e33f6a6736b9aca03 metadata.xml 486
MD5 ee96360211c9e70e81677b740b1b139a files/digest-avr-libc-1.2.3 67
+MD5 a171e49ae4824538fe554c27b30d5fd0 files/avr-libc-macros.patch 497
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux)
+
+iD8DBQFCnMKJKRy60XGEcJIRAk/FAJsEt2kCnQnFxQ06hQdG8Zha57dqIwCeOJUl
+3cNE0o6a0iRVtyE45OecNcQ=
+=jt4Y
+-----END PGP SIGNATURE-----
diff --git a/dev-embedded/avr-libc/avr-libc-1.2.3.ebuild b/dev-embedded/avr-libc/avr-libc-1.2.3.ebuild
index 0fa30a0b36a4..c563af6f819c 100644
--- a/dev-embedded/avr-libc/avr-libc-1.2.3.ebuild
+++ b/dev-embedded/avr-libc/avr-libc-1.2.3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.2.3.ebuild,v 1.3 2005/05/25 10:20:55 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.2.3.ebuild,v 1.4 2005/05/31 20:00:51 gustavoz Exp $
+
+inherit eutils
DESCRIPTION="Libc for the AVR microcontroller architecture"
HOMEPAGE="http://www.nongnu.org/avr-libc/"
@@ -16,6 +18,11 @@ DEPEND=">=sys-devel/crossdev-0.9.1"
&& RDEPEND="!dev-embedded/avr-libc" \
|| RDEPEND=""
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PN}-macros.patch
+}
+
src_compile() {
mkdir obj-avr
cd obj-avr
diff --git a/dev-embedded/avr-libc/files/avr-libc-macros.patch b/dev-embedded/avr-libc/files/avr-libc-macros.patch
new file mode 100644
index 000000000000..9c9e5efcaf88
--- /dev/null
+++ b/dev-embedded/avr-libc/files/avr-libc-macros.patch
@@ -0,0 +1,18 @@
+diff -Nura avr-libc-1.2.3/common/macros.inc avr-libc-1.2.3.crossdev/common/macros.inc
+--- avr-libc-1.2.3/common/macros.inc 2004-11-01 18:19:54.000000000 -0300
++++ avr-libc-1.2.3.crossdev/common/macros.inc 2005-05-31 16:11:36.000000000 -0300
+@@ -35,6 +35,9 @@
+ Created by Marek Michalkiewicz <marekm@linux.org.pl>
+ */
+
++#ifndef _MACROS_INC
++#define _MACROS_INC
++
+ #include <avr/io.h>
+
+ /* if not defined, assume old version with underscores */
+@@ -219,3 +222,4 @@
+ #endif
+ .endm
+
++#endif