Subject: CVS commit: pkgsrc/cross/avr-libc
From: Makoto Fujiwara
Date: 2014-10-28 01:26:56
Message id: 20141028002656.408C698@cvs.netbsd.org

Log Message:
patch provided by Sevan Janiyan by PR pkg/49316
(pkgsrc)
  - Instead of
    "very evil hack to override CC, doing it via CONFIGURE_ENV doesn't \ 
work",
    use CONFIGURE_ARGS

(upstream)
  - Update 1.8.0 to 1.8.1
*** Changes in avr-libc-1.8.1:

* Bugs fixed:

  [#31267] misleading header iom128rfa1.h
  [#35197] sleep.h _BV defined as __BV in AT90S8515 section
  [#35226] Online-documentation broken - [...]
  [#35398] assert doesn't work unless stdlib.h is also included
  [#35498] misspelled in <util/setbaud.h>
  [#35539] stdlib.h does not provide EXIT_SUCCESS et al.
  [#35948] iom32u4.h for ATmega32U4 incorrectly defines Timer 2
  [#35971] attiny4313 (2313a) pin-change interrupts PCINT[0...2] vect etc
  [#36053] Declaration of the register USIBR missing for ATtiny2313a/4313
  [#36410] avr/boot.h: poisoned SPMCR for ATmega128
  [#36454] string.h: Error for long long in C90
  [#36581] avr-libc: pgmspace.h is not ANSI compliant
  [#37103] ATtiny5/9/10/20/40 watchdog can't be enabled
  [#37778] _MemoryBarrier() in cpufunc.h error on compile
  [#38135] Install a dummy stdfix-avrlibc.h
  [#38516] Missing TWI and UCSR1D definitions for ATmega16/32 U4
  [#39049] Clock prescaler set and get are missing for TINY architecture
  [#39783] CRC missing definitions and incorrect power macros for xmega D3
  [#40003] Integer type promotion leads to inefficent code in wdt.h
  [#40206] incorrect SP init in startup code for xmegas
  [#40567] Invalid names in iotn13a.h (EEPE/EEMPE/BODS/BODSE)
  [#40569] sleep_bod_disable does not work in attiny13a
  [#40595] iotn2313a.h: wrong fuses definitions for High Fuse Byte
  [#41006] iom328p.h: wrong fuse defaults
  [#41519] wrong SPM_PAGESIZE definition in iotn[48]8.h
  [#42024] build break regarding avrtiny10
  [#42084] wrong LFUSE_DEFAULT in iotn84a.h
  [#42085] HFUSE_DEFAULT not defined for iotn84.h
  [#39779] PCIE0 and PCIE1 defined incorrectly for mega165a and mega165pa devices
  [#38614] dtostrf - wrong behavior or wrong documentation
  [#42957] missing SPMCSR defines in iom328p.h#
  [#41690] Bit definitions for SPMCSR
  [no-id]  XXX_vect_num not consistent io90pwmx.h, iousbxx6_7.h
  [no-id]  Specialize clock_prescale_set/get for mega hvb devices
  [no-id]  Update register and bit definitions for tiny 13a/24a/44a/84a,
           tiny167 and mega328p

* New devices supported:

  - ATmega256RFR2, ATmega2564RFR2, ATmega128RFR2, ATmega1284RFR2,
    ATmega64RFR2, ATmega644RFR2, AT90pwm161, ATA5272, ATA5505, ATA5790,
    ATA5795, ATA6285, ATA6286, ATmega1284, ATmega128A, ATmega164PA,
    ATmega165PA, ATmega168PA, ATmega3250PA, ATmega325PA, ATmega3290PA,
    ATmega32A, ATmega48PA, ATmega64A, ATmega8A, ATtiny1634, ATtiny828,
    ATxmega128A3U, ATxmega128A4U, ATxmega128B1, ATxmega128B3, ATxmega128C3,
    ATxmega128D4, ATxmega16A4U, ATxmega16C4, ATxmega192A3U, ATxmega192C3,
    ATxmega256A3BU, ATxmega256A3U, ATxmega256C3, ATxmega32A4U, ATxmega32C4,
    ATxmega384C3, ATxmega384D3, ATxmega64A3U, ATxmega64A4U, ATxmega64B1,
    ATxmega64B3, ATxmega64C3, ATxmega64D4

* Contributed Patches:

  [#3729] Printf for integers speed up
  [#7212] Add pgm_read_ptr() macros to pgmspace.h
  [#7220] Add UBRR overload functionality to <util/setbaud.h>
  [#7260] Addition to power.h
  [#7485] CRC8-CCITT
  [#7654] include/delay.h: delay_us >255us without decreasing resolution
  [#7826] Add ATMega32u4 support to the led-blinking demo
  [#7909] Adding __volatile__ to __asm__ within pgmspace header
  [#7910] Add missing PCINT2_vect to iotn40.h and update all the
          following vector numbers
  [no-id] correction in xmega wdt_enable and wdt_disable added for xmega
  [#8499] Device ata6289 should be of avr4 architecture
  [no-id] Add RAMSTART, fix RAMSIZE, RAMEND and FLASHEND in device headers
  [#8512] Rename tiny arch to avrtiny to sync with binutils

* Other changes:

  - New macro _PROTECTED_WRITE(): write to Xmega IO registers that are
    protected through the CCP mechanism

  - Add support for scanf() conversion macros for 8-bit data types to
    <inttypes.h>: SCNd8, SCNdLEAST8, SCNdFAST8, SCNi8, SCNiLEAST8,
    SCNiFAST8, SCNo8, SCNoLEAST8, SCNoFAST8, SCNu8, SCNuLEAST8,
    SCNuFAST8, SCNx8, SCNxLEAST8, SCNxFAST8

  - Add time.h package, C standard functions such as mktime() and localtime,
    along with 'ephemera' such as solar declination, time of sun rise and set.

  - Introduce new configure option --with-debug-info=INFO, where INFO
    can be either stabs, dwarf-2, or dwarf-4.  By default, no debug
    information will be generated.

  - Add IO register debug symbols to crt*.o, so debuggers can see the
    per-device defined IO registers (and __eeprom).

  - A number of changes have been applied to make avr-libc more C++
    aware.

Files:
RevisionActionfile
1.36modifypkgsrc/cross/avr-libc/Makefile
1.19modifypkgsrc/cross/avr-libc/PLIST
1.11modifypkgsrc/cross/avr-libc/distinfo