diff options
author | Johannes Huber <johu@gentoo.org> | 2017-12-24 12:36:06 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2017-12-24 12:38:24 +0100 |
commit | c025438ded618983b7509811096b0bc9cd9f8d9d (patch) | |
tree | 838a688a695ecdd1c9ad4fe5228db86336aa57bb /dev-embedded | |
parent | dev-embedded/avr-libc: Remove 1.7.0 (diff) | |
download | gentoo-c025438ded618983b7509811096b0bc9cd9f8d9d.tar.gz gentoo-c025438ded618983b7509811096b0bc9cd9f8d9d.tar.bz2 gentoo-c025438ded618983b7509811096b0bc9cd9f8d9d.zip |
dev-embedded/avr-libc: Remove 1.7.1
Uses deprecated EAPI 4. Superseded by 2.0.0.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/avr-libc/Manifest | 3 | ||||
-rw-r--r-- | dev-embedded/avr-libc/avr-libc-1.7.1.ebuild | 77 | ||||
-rw-r--r-- | dev-embedded/avr-libc/files/avr-libc-1.7.1-gcc46.patch | 25 |
3 files changed, 0 insertions, 105 deletions
diff --git a/dev-embedded/avr-libc/Manifest b/dev-embedded/avr-libc/Manifest index 5345393534bf..095f3ba6365c 100644 --- a/dev-embedded/avr-libc/Manifest +++ b/dev-embedded/avr-libc/Manifest @@ -1,12 +1,9 @@ -DIST avr-libc-1.7.1.tar.bz2 1417545 BLAKE2B 082deba6b9d20c5c95a487a37eccc8058552a445ca53fc7c4e2ca3ff8ad3df213651a2123f71e975db6dfe09752731c1c71a782c242cce03532d5c2a3880fb12 SHA512 814e41b84b62213782ef886140d6aae99a76495ad3c06796038e3c58a138a3ef55076b7809dab8f4ce856b2b49a29d23952230a7784a914e20507ce06a6f99ed DIST avr-libc-1.8.0.tar.bz2 1428776 BLAKE2B c86dce55546e0837d608b48ad6242ac99059df0a4cd997d7e70cab083a9eb36cf36251cda92a772bbf94ac3d716cf02a8663c9cb93ccc44c55b28d1388a459e8 SHA512 932cd41be062c5930cf4d2c555b1748a6916cf8e901e2bdb6d79fec3193d8b142c32e26b9b48c680fd909cd4bafb5ed74c346846f0a4200386db6ddc2651567a DIST avr-libc-1.8.1.tar.bz2 3230418 BLAKE2B a32e99127970b59f88955c2e90b36aceec7ac44c2de6338d7aa42ef9432ce68337c0119030c7c543867d3342b66f4adc64ec0a8c327b24caf5b1f4cc93c05d81 SHA512 9827028117d63bab9071bc0af68ef87038ed1e6e6c5cfd6db2c77a8387ce5b9eb2825c651405ad2842d81bc0abe173b76340b56671b930fc42d2f05bb7f261f7 DIST avr-libc-2.0.0.tar.bz2 3590893 BLAKE2B cc628f5f55d12c78ca9215e3e37b4a0061feae3c7c19653384b5d789fb6e1c70efe420631bf987379ae5524ec0f65c6df459eaad0fcfb80833cc4732ed5e796b SHA512 fc8d062043d633350dbe05978935dcb8028257a4f1013f246af9658aef0671def19ac11577d1ee9302df68df1b8cf030b22441d96852e185db212263aacabea6 -DIST avr-libc-manpages-1.7.1.tar.bz2 143831 BLAKE2B 3a727c168f0833906bd4056838b7983f50b1963167e6f1738862eae76eedd53d972aa2b7e3622da2df9049b5cfbafdfe9cb778fe92ff79844890bf5589d267a4 SHA512 c77f60be472a26ec7a158dcbfc38960dcde7bc192518bf5a35d339c628cf39030f44c56785770a3e0c01ced568e6ca7fff0f655e4a396348464c9d23cc1ccd3e DIST avr-libc-manpages-1.8.0.tar.bz2 127217 BLAKE2B b48b97a7dd750be78ceb2259845037e180f386d7d539d0f1e11891affa9612eb70c3c6b684068d9cac9a436c6a804bc411e25ae9cf014a30d6556f60ffa7a37a SHA512 8b7d5734ded698f0f136b8a38785efc87d288ece7fbed943e7da0d1c6aa21ffd73707e63d54757df47da687d5e6d70d781bf9b4947624976921b5fb5c9cffc86 DIST avr-libc-manpages-1.8.1.tar.bz2 158580 BLAKE2B 218f3756ebcca0004d03b0a89fcd7f95987b5d3e7549b60853070fed1aca2caae8f9fa77485005f834b6203bcdb44402bb9f16bf5918f1b04dc5aa2b9ff9222b SHA512 84f12c4b56b0c5e21edb0ad27a68c8b1d665a60b19bd2aee10714840d4153cb5aff65f90b0e815ddce9037ad06a4a3b54856cf81b0aea85a1d97a0cf3c672a80 DIST avr-libc-manpages-2.0.0.tar.bz2 151137 BLAKE2B 7fbaa9c1014e8cf9b4caac723b57f9c24272da458b987ba302730116437bb3a5b49296c6804d857b421e6f71f2c4efda959d278ebcc14aba35fdd44a958dfca8 SHA512 8b4aaa6ae176076171e90e629e0e6142c4c56f9cc4f1640432384276df2f7b457f5137739535b07b9cede9b5b2e564db7fe200203faa4e2d0cd9874432507823 -DIST avr-libc-user-manual-1.7.1.tar.bz2 692262 BLAKE2B 786d441a44d3159ed0bd63a96a7a41729fce18d511bbaa22e4d3051c0f18028fe01e822c71da18fed50b9d557c2fbc5c68e7089bd618f31a57b07b8b7769f9d6 SHA512 9996ed97aac12a37c589beb32d761dc0740b321bb219d316091f9b3a763b8a96401c2de6cf99f89744d337a482e8be88104778deb6d8b9a76e96870526139d5e DIST avr-libc-user-manual-1.8.0.tar.bz2 705087 BLAKE2B 637927cb5f486678d8172ad76f61e9b69ff9c6f55ea7f7c9f7aca6b7219218e806d1be3f551ceb919240162fa054c9b6bca10217eec633cddf9fb261491806f4 SHA512 731fbc45e9184b70f28001a9427d72ab5385017f1d8f197b2c942e458a6542632420f11e57a81949586d6fd8d4f4cd401b5fc76595ab7d95ccad7b158ceef59b DIST avr-libc-user-manual-1.8.1.tar.bz2 864405 BLAKE2B aab98ce1c3d4e3aec1cdd760487692d03b7563abf3d5da4a078da8cff98ec73aa5f99594f63c109ffd83506d6ddb94b889cabde7871e34c53f7a2b2353a0168a SHA512 65da1b6f648bc8f2dc23dca15be45c960606c44703407fcdb60a924174cd9970d9d4f5a9c10eda827b91a5dbd0cd122daab92458626e67817c3ad8a864baedf4 DIST avr-libc-user-manual-2.0.0.tar.bz2 932920 BLAKE2B d3190af26dbe38719bc78e73de31af1ce69d885b928f48a4fb9ccd145a33f19f71c017253ad16eadc641fc88495c642dd5fd1668c6bebddf7d813f70db01a3f6 SHA512 246180be1f793b46335a49f33028ff59bd7cc06ca3d8627309521801e405e0e1305663a2c0760521467e75732ad513749bf707732b59fb17744e51acda9bb2c6 diff --git a/dev-embedded/avr-libc/avr-libc-1.7.1.ebuild b/dev-embedded/avr-libc/avr-libc-1.7.1.ebuild deleted file mode 100644 index dbe5b3c302bb..000000000000 --- a/dev-embedded/avr-libc/avr-libc-1.7.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -CHOST="avr" -CTARGET="avr" - -inherit flag-o-matic eutils - -DESCRIPTION="C library for Atmel AVR microcontrollers" -HOMEPAGE="http://www.nongnu.org/avr-libc/" -SRC_URI="https://savannah.nongnu.org/download/avr-libc/${P}.tar.bz2 - https://savannah.nongnu.org/download/avr-libc/${PN}-manpages-${PV}.tar.bz2 - doc? ( https://savannah.nongnu.org/download/avr-libc/${PN}-user-manual-${PV}.tar.bz2 )" - -LICENSE="BSD" -SLOT="0" -# 'amd64' is a blessed placeholder for crossdev. It could -# be any other arch. See bug #620316#c5 -# Don't add more arches to KEYWORDS. -KEYWORDS="~amd64" -IUSE="doc crosscompile_opts_headers-only" - -DEPEND=">=sys-devel/crossdev-0.9.1" -[[ ${CATEGORY/cross-} != ${CATEGORY} ]] \ - && RDEPEND="!dev-embedded/avr-libc" \ - || RDEPEND="" - -DOCS="AUTHORS ChangeLog* NEWS README" - -pkg_setup() { - # check for avr-gcc, bug #134738 - ebegin "Checking for avr-gcc" - if type -p avr-gcc > /dev/null ; then - eend 0 - else - eend 1 - - eerror - eerror "Failed to locate 'avr-gcc' in \$PATH. You can install an AVR toolchain using:" - eerror " $ crossdev -t avr" - eerror - die "AVR toolchain not found" - fi -} - -src_prepare() { - # Fix avr-libc bug #32988 causing an ICE with gcc-4.6.0 - epatch "${FILESDIR}/${P}-gcc46.patch" - - # work around broken gcc versions PR45261 - local mcu - for mcu in $(sed -r -n '/CHECK_AVR_DEVICE/{s:.*[(](.*)[)]:\1:;p}' configure.ac) ; do - if avr-gcc -E - -mmcu=${mcu} <<<"" |& grep -q 'unknown MCU' ; then - sed -i "/HAS_${mcu}=yes/s:yes:no:" configure - fi - done - - # Install docs in correct directory - sed -i -e "/DOC_INST_DIR/s:\$(VERSION):${PVR}:" configure || die - - strip-flags - strip-unsupported-flags -} - -src_install() { - default - - # man pages can not go into standard locations - # as they would then overwrite libc man pages - insinto /usr/share/doc/${PF}/man/man3 - doins "${WORKDIR}"/man/man3/* - prepman /usr/share/doc/${PF} - - use doc && dohtml "${WORKDIR}"/${PN}-user-manual-${PV}/* -} diff --git a/dev-embedded/avr-libc/files/avr-libc-1.7.1-gcc46.patch b/dev-embedded/avr-libc/files/avr-libc-1.7.1-gcc46.patch deleted file mode 100644 index 1f0922196c36..000000000000 --- a/dev-embedded/avr-libc/files/avr-libc-1.7.1-gcc46.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- avr-libc-1.7.1.orig/include/avr/pgmspace.h -+++ avr-libc-1.7.1/include/avr/pgmspace.h -@@ -252,7 +252,7 @@ - # define PSTR(s) ((const PROGMEM char *)(s)) - #else /* !DOXYGEN */ - /* The real thing. */ --# define PSTR(s) (__extension__({static char __c[] PROGMEM = (s); &__c[0];})) -+# define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];})) - #endif /* DOXYGEN */ - - #define __LPM_classic__(addr) \ ---- avr-libc-1.7.1.orig/libc/stdlib/dtostre.c -+++ avr-libc-1.7.1/libc/stdlib/dtostre.c -@@ -37,9 +37,9 @@ - char * - dtostre (double val, char *sbeg, unsigned char prec, unsigned char flags) - { -- __attribute__((progmem)) static char str_nan[2][4] = -+ __attribute__((progmem)) static const char str_nan[2][4] = - {"nan", "NAN"}; -- __attribute__((progmem)) static char str_inf[2][sizeof(str_nan[0])] = -+ __attribute__((progmem)) static const char str_inf[2][sizeof(str_nan[0])] = - {"inf", "INF"}; - char *d; /* dst */ - char *s; /* src */ |