pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross/avr-libc cross/avr-libc: Update to 2.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04356bae1fb6
branches:  trunk
changeset: 379090:04356bae1fb6
user:      micha <micha%pkgsrc.org@localhost>
date:      Wed May 11 12:19:47 2022 +0000

description:
cross/avr-libc: Update to 2.1.0

*** Changes in avr-libc-2.1.0:

* Improvements and additions:

  - Patch #9187 improved the library coverage for the AVR_TINY
    architecture (ATtiny10 and relatives).  In particular, many
    of the functions from <string.h> are now available there.

  - Patch #8729 adds ISR_NOICF and ISR_FLATTEN to <avr/interrupt.h>

* Bugs fixed:

  [#36933] Documentation no longer correctly describes how to declare
  [#41689] add static_assert to assert.h
  [#48898] power_usart3_* functions no more defined in power.h
  [#49020] dtostre() flags documentation error
  [#49447] Example code for uart_putchar() has error in recursive call
           strings for storage in program memory
  [#50439] avr/iom32u4.h does not define PRTIM4
  [#51755] iotn441.h & iotn841.h missing definitions for PUEA[0-7] and PUEB[0-3]
  [no-id] util/eu_dst.h: fix reversed DST decision logic for March and October
  [no-id] util/delay.h.in: add missing return

* Contributed Patches:

  [no-id] Define weak symbols for known memory region sizes based on device.
          header definitions, starting with fuse region.
  [#8961] Update test script for new simulavr and library layout
  [#8964] Update tests isinf-01.c, signbit-01.c and modf-np.c
  [#9163] New eeprom write block function for xmega using eeprom page write
  [#8729] [avr/interrupt.h] Add ISR_NOICF, ISR_FLATTEN. Fix namespace of identifiers.
  [#8536] Fix a typo within <stdio.h>
  [#8649] small documentation fixes in
  [#9187] [AVR_TINY]: Support 16-bit xtoa functons and more string functions.
  [#9400] Add avrxmega3 multilibs
  [#9659] Update eeprom_is_ready for avrxmega3 devices
  [#9553] Fix some issues in libc/
  [#9864] Use proper float function names and prototypes

diffstat:

 cross/avr-libc/MESSAGE                           |   6 ------
 cross/avr-libc/Makefile                          |   5 ++---
 cross/avr-libc/PLIST                             |  24 +++++++++++++++++-------
 cross/avr-libc/distinfo                          |  16 ++++++++--------
 cross/avr-libc/patches/patch-doc_Makefile.in     |   4 ++--
 cross/avr-libc/patches/patch-doc_api_Makefile.in |   4 ++--
 cross/avr-libc/patches/patch-include_avr_power.h |   4 ++--
 cross/avr-libc/patches/patch-include_avr_wdt.h   |   4 ++--
 8 files changed, 35 insertions(+), 32 deletions(-)

diffs (205 lines):

diff -r 40711fbdd765 -r 04356bae1fb6 cross/avr-libc/MESSAGE
--- a/cross/avr-libc/MESSAGE    Wed May 11 11:59:35 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.2 2015/02/25 15:46:52 mef Exp $
-Man pages are installed in ${PREFIX}/share/doc/avr-libc/man/man3/
-To read those pages, for example, use
- env MANPATH=${PREFIX}/share/doc/avr-libc/man man BOOTLOADER_SECTION
-===========================================================================
diff -r 40711fbdd765 -r 04356bae1fb6 cross/avr-libc/Makefile
--- a/cross/avr-libc/Makefile   Wed May 11 11:59:35 2022 +0000
+++ b/cross/avr-libc/Makefile   Wed May 11 12:19:47 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.60 2022/01/19 03:50:32 dsainty Exp $
+# $NetBSD: Makefile,v 1.61 2022/05/11 12:19:47 micha Exp $
 
-DISTNAME=              avr-libc-2.0.0
-PKGREVISION=           6
+DISTNAME=              avr-libc-2.1.0
 CATEGORIES=            cross
 MASTER_SITES=          http://savannah.nongnu.org/download/avr-libc/
 EXTRACT_SUFX=          .tar.bz2
diff -r 40711fbdd765 -r 04356bae1fb6 cross/avr-libc/PLIST
--- a/cross/avr-libc/PLIST      Wed May 11 11:59:35 2022 +0000
+++ b/cross/avr-libc/PLIST      Wed May 11 12:19:47 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2021/09/08 12:20:35 micha Exp $
+@comment $NetBSD: PLIST,v 1.28 2022/05/11 12:19:47 micha Exp $
 avr/include/alloca.h
 avr/include/assert.h
 avr/include/avr/boot.h
@@ -764,6 +764,18 @@
 avr/lib/avrxmega2/libprintf_min.a
 avr/lib/avrxmega2/libscanf_flt.a
 avr/lib/avrxmega2/libscanf_min.a
+avr/lib/avrxmega3/libc.a
+avr/lib/avrxmega3/libm.a
+avr/lib/avrxmega3/libprintf_flt.a
+avr/lib/avrxmega3/libprintf_min.a
+avr/lib/avrxmega3/libscanf_flt.a
+avr/lib/avrxmega3/libscanf_min.a
+avr/lib/avrxmega3/short-calls/libc.a
+avr/lib/avrxmega3/short-calls/libm.a
+avr/lib/avrxmega3/short-calls/libprintf_flt.a
+avr/lib/avrxmega3/short-calls/libprintf_min.a
+avr/lib/avrxmega3/short-calls/libscanf_flt.a
+avr/lib/avrxmega3/short-calls/libscanf_min.a
 avr/lib/avrxmega4/crtatxmega64a3.o
 avr/lib/avrxmega4/crtatxmega64a3u.o
 avr/lib/avrxmega4/crtatxmega64a4u.o
@@ -983,9 +995,7 @@
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/globals_defs_e.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/globals_defs_f.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/globals_defs_g.html
-${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/globals_defs_h.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/globals_defs_i.html
-${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/globals_defs_l.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/globals_defs_m.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/globals_defs_n.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/globals_defs_o.html
@@ -1143,10 +1153,8 @@
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/stdlib_8h.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/stdlib_8h_source.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/stdlib__private_8h_source.html
-${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/strdup_8c.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/string_8h.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/string_8h_source.html
-${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/strtok_8c.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/structdiv__t.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/structldiv__t.html
 ${PLIST.doc}share/doc/avr-libc/avr-libc-user-manual/structtm.html
@@ -1259,8 +1267,10 @@
 ${PLIST.doc}share/doc/avr-libc/man/man3/ISR_ALIAS.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/ISR_ALIASOF.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/ISR_BLOCK.3
+${PLIST.doc}share/doc/avr-libc/man/man3/ISR_FLATTEN.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/ISR_NAKED.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/ISR_NOBLOCK.3
+${PLIST.doc}share/doc/avr-libc/man/man3/ISR_NOICF.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/M_1_PI.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/M_2_PI.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/M_2_SQRTPI.3
@@ -1489,6 +1499,7 @@
 ${PLIST.doc}share/doc/avr-libc/man/man3/_PROTECTED_WRITE.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/_VECTOR.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/_WEEK_DAYS_.3
+${PLIST.doc}share/doc/avr-libc/man/man3/__ASM_ALIAS.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/__AVR_LIBC_DATE_.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/__AVR_LIBC_DATE_STRING__.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/__AVR_LIBC_MAJOR__.3
@@ -1586,6 +1597,7 @@
 ${PLIST.doc}share/doc/avr-libc/man/man3/cbi.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/cbrt.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/cbrtf.3
+${PLIST.doc}share/doc/avr-libc/man/man3/ccp_write_io.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/ceil.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/ceilf.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/clearerr.3
@@ -1911,7 +1923,6 @@
 ${PLIST.doc}share/doc/avr-libc/man/man3/strcspn.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/strcspn_P.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/strdup.3
-${PLIST.doc}share/doc/avr-libc/man/man3/strdup.c.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/strftime.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/string.h.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/strlcat.3
@@ -1953,7 +1964,6 @@
 ${PLIST.doc}share/doc/avr-libc/man/man3/strstr_PF.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/strtod.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/strtok.3
-${PLIST.doc}share/doc/avr-libc/man/man3/strtok.c.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/strtok_P.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/strtok_r.3
 ${PLIST.doc}share/doc/avr-libc/man/man3/strtok_rP.3
diff -r 40711fbdd765 -r 04356bae1fb6 cross/avr-libc/distinfo
--- a/cross/avr-libc/distinfo   Wed May 11 11:59:35 2022 +0000
+++ b/cross/avr-libc/distinfo   Wed May 11 12:19:47 2022 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.18 2021/10/26 10:07:51 nia Exp $
+$NetBSD: distinfo,v 1.19 2022/05/11 12:19:47 micha Exp $
 
-BLAKE2s (avr-libc-2.0.0.tar.bz2) = 6f479e6e99725d5a596ef9c128a07d1ba4bcf8a2dcf5b18527f9b102903396d2
-SHA512 (avr-libc-2.0.0.tar.bz2) = fc8d062043d633350dbe05978935dcb8028257a4f1013f246af9658aef0671def19ac11577d1ee9302df68df1b8cf030b22441d96852e185db212263aacabea6
-Size (avr-libc-2.0.0.tar.bz2) = 3590893 bytes
-SHA1 (patch-doc_Makefile.in) = 948571851d14a15dd6aea71fa94fab86349d0988
-SHA1 (patch-doc_api_Makefile.in) = f40ae53e9ebfdeec562746586e2145570fb2429d
-SHA1 (patch-include_avr_power.h) = 0b1c6f4dd9339cae40c740868ba85c39f3eeb74d
-SHA1 (patch-include_avr_wdt.h) = 4e0882cc6e795870e58182ebe7820f9bc98bf2ce
+BLAKE2s (avr-libc-2.1.0.tar.bz2) = 985f22c8e7172ba3a6ee550c60b287c96bd41d56691d208ee33ed9303603f066
+SHA512 (avr-libc-2.1.0.tar.bz2) = 207b8844353c45172cc819cd5e694bbfe7cd281359cd01cff520f1e70226852d708f1a4fc2e841b2ceb8e3f7d19f2ce45a3f499aee4a25eeb5f6f0aa919611c8
+Size (avr-libc-2.1.0.tar.bz2) = 3638672 bytes
+SHA1 (patch-doc_Makefile.in) = 6d3c75f5fb881f641c802975654c6b4a9d8104ec
+SHA1 (patch-doc_api_Makefile.in) = d291bc2934fc2a6ed92196a547c324c27930c4b5
+SHA1 (patch-include_avr_power.h) = 3b54a61d889b6a87d1a6d660e16dfcfc80199108
+SHA1 (patch-include_avr_wdt.h) = 7bdea512809854a531ff5f6341834b86f5546417
diff -r 40711fbdd765 -r 04356bae1fb6 cross/avr-libc/patches/patch-doc_Makefile.in
--- a/cross/avr-libc/patches/patch-doc_Makefile.in      Wed May 11 11:59:35 2022 +0000
+++ b/cross/avr-libc/patches/patch-doc_Makefile.in      Wed May 11 12:19:47 2022 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-doc_Makefile.in,v 1.3 2021/09/08 12:20:35 micha Exp $
+$NetBSD: patch-doc_Makefile.in,v 1.4 2022/05/11 12:19:47 micha Exp $
 
 Adding PATH at installation time for OBJCOPY = avr-objcopy etc.
 See comment on SUBST part in Makefile.
 
 --- doc/Makefile.in.orig       2011-02-17 05:57:10.000000000 +0900
 +++ doc/Makefile.in    2012-02-07 10:59:07.000000000 +0900
-@@ -334,6 +334,7 @@
+@@ -335,6 +335,7 @@
  SUBDIRS = examples @DOCSDIR@
  DIST_SUBDIRS = examples api
  EXTRA_DIST = CHANGES.old ChangeLog INSTALL TODO
diff -r 40711fbdd765 -r 04356bae1fb6 cross/avr-libc/patches/patch-doc_api_Makefile.in
--- a/cross/avr-libc/patches/patch-doc_api_Makefile.in  Wed May 11 11:59:35 2022 +0000
+++ b/cross/avr-libc/patches/patch-doc_api_Makefile.in  Wed May 11 12:19:47 2022 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-doc_api_Makefile.in,v 1.4 2021/09/08 12:20:35 micha Exp $
+$NetBSD: patch-doc_api_Makefile.in,v 1.5 2022/05/11 12:19:47 micha Exp $
 
 Fix dependencies. Ultimately ignore the errors from latex though, since
 undefined references remain.
 
 --- doc/api/Makefile.in.orig   2016-06-19 16:33:29.514161905 +0000
 +++ doc/api/Makefile.in
-@@ -636,7 +636,7 @@ $(USER_MANUAL)/index.html: latex_src/ref
+@@ -641,7 +641,7 @@ $(USER_MANUAL)/index.html: latex_src/ref
  dox-pdf: $(USER_MANUAL).pdf
  
  $(USER_MANUAL).pdf: latex_src/refman.tex
diff -r 40711fbdd765 -r 04356bae1fb6 cross/avr-libc/patches/patch-include_avr_power.h
--- a/cross/avr-libc/patches/patch-include_avr_power.h  Wed May 11 11:59:35 2022 +0000
+++ b/cross/avr-libc/patches/patch-include_avr_power.h  Wed May 11 12:19:47 2022 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-include_avr_power.h,v 1.1 2021/09/08 12:20:35 micha Exp $
+$NetBSD: patch-include_avr_power.h,v 1.2 2022/05/11 12:19:47 micha Exp $
 
 Fix support for ATmega324PA.
 http://savannah.nongnu.org/bugs/?61102
 
 --- include/avr/power.h.orig   2016-02-07 22:59:49.000000000 +0000
 +++ include/avr/power.h
-@@ -1303,6 +1303,7 @@ __power_all_disable()
+@@ -1343,6 +1343,7 @@ __power_all_disable()
  || defined(__AVR_ATmega256RFR2__) \
  || defined(__AVR_ATmega324A__) \
  || defined(__AVR_ATmega324P__) \
diff -r 40711fbdd765 -r 04356bae1fb6 cross/avr-libc/patches/patch-include_avr_wdt.h
--- a/cross/avr-libc/patches/patch-include_avr_wdt.h    Wed May 11 11:59:35 2022 +0000
+++ b/cross/avr-libc/patches/patch-include_avr_wdt.h    Wed May 11 12:19:47 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-include_avr_wdt.h,v 1.1 2021/09/08 12:20:35 micha Exp $
+$NetBSD: patch-include_avr_wdt.h,v 1.2 2022/05/11 12:19:47 micha Exp $
 
 Fix comments for ATmega324PA.
 
@@ -13,7 +13,7 @@
      ATmega640, ATmega1280, ATmega1281, ATmega2560, ATmega2561,
      ATmega8HVA, ATmega16HVA, ATmega32HVB,
      ATmega406, ATmega1284P,
-@@ -570,7 +570,7 @@ void wdt_disable (void)
+@@ -574,7 +574,7 @@ void wdt_disable (void)
      ATtiny261, ATtiny461, ATtiny861, 
      ATmega48, ATmega48A, ATmega48PA, ATmega88, ATmega168,
      ATmega48P, ATmega88P, ATmega168P, ATmega328P,



Home | Main Index | Thread Index | Old Index