lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

avr-gcc-with-avr-libc: remove unused gcc-4.6 patch

Unused since dd4e1d4225 (avr-gcc-with-avr-libc: Update to latest versions.)

-29
-29
pkgs/development/misc/avr-gcc-with-avr-libc/avr-libc-fix-gcc-4.6.0.patch
··· 1 - # Patch from Gentoo 2 - 3 - diff -ur 1/include/avr/pgmspace.h 2/include/avr/pgmspace.h 4 - --- 1/include/avr/pgmspace.h 2011-05-31 18:19:44.524000823 +0200 5 - +++ 2/include/avr/pgmspace.h 2011-05-31 18:20:27.576000824 +0200 6 - @@ -252,7 +252,7 @@ 7 - # define PSTR(s) ((const PROGMEM char *)(s)) 8 - #else /* !DOXYGEN */ 9 - /* The real thing. */ 10 - -# define PSTR(s) (__extension__({static char __c[] PROGMEM = (s); &__c[0];})) 11 - +# define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];})) 12 - #endif /* DOXYGEN */ 13 - 14 - #define __LPM_classic__(addr) \ 15 - diff -ur 1/libc/stdlib/dtostre.c 2/libc/stdlib/dtostre.c 16 - --- 1/libc/stdlib/dtostre.c 2011-05-31 18:19:44.639000823 +0200 17 - +++ 2/libc/stdlib/dtostre.c 2011-05-31 18:20:27.639000824 +0200 18 - @@ -37,9 +37,9 @@ 19 - char * 20 - dtostre (double val, char *sbeg, unsigned char prec, unsigned char flags) 21 - { 22 - - __attribute__((progmem)) static char str_nan[2][4] = 23 - + __attribute__((progmem)) static const char str_nan[2][4] = 24 - {"nan", "NAN"}; 25 - - __attribute__((progmem)) static char str_inf[2][sizeof(str_nan[0])] = 26 - + __attribute__((progmem)) static const char str_inf[2][sizeof(str_nan[0])] = 27 - {"inf", "INF"}; 28 - char *d; /* dst */ 29 - char *s; /* src */