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/avr-libc/files/avr-libc-1.7.1-gcc46.patch | |
| parent | a5af159d943f31618e5280341cb5aaebe2c5da14 (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/avr-libc/files/avr-libc-1.7.1-gcc46.patch')
| -rw-r--r-- | dev-embedded/avr-libc/files/avr-libc-1.7.1-gcc46.patch | 25 |
1 files changed, 0 insertions, 25 deletions
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 */ |
