summaryrefslogtreecommitdiff
path: root/packages/picolibc
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2020-10-26 22:23:12 (GMT)
committerKeith Packard <keithp@keithp.com>2020-10-27 02:37:56 (GMT)
commitc14b7c6cfc0e8a6a5af5d5438189517fd52930b0 (patch)
tree5d3c616db9936ffc1d2ab099c161fee22ec3203b /packages/picolibc
parentdd20ee5526b08baf97ca559e93d7546ec0746cfa (diff)
packages/picolibc: Update to version 1.4.7
New picolibc release has some useful bug fixes Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'packages/picolibc')
-rw-r--r--packages/picolibc/1.4.6/0000-libc-Create-a-macro-for-errno-so-that-GCC-tsystem.h-.patch33
-rw-r--r--packages/picolibc/1.4.6/chksum4
-rw-r--r--packages/picolibc/1.4.7/chksum4
-rw-r--r--packages/picolibc/1.4.7/version.desc (renamed from packages/picolibc/1.4.6/version.desc)0
-rw-r--r--packages/picolibc/package.desc2
5 files changed, 5 insertions, 38 deletions
diff --git a/packages/picolibc/1.4.6/0000-libc-Create-a-macro-for-errno-so-that-GCC-tsystem.h-.patch b/packages/picolibc/1.4.6/0000-libc-Create-a-macro-for-errno-so-that-GCC-tsystem.h-.patch
deleted file mode 100644
index da26864..0000000
--- a/packages/picolibc/1.4.6/0000-libc-Create-a-macro-for-errno-so-that-GCC-tsystem.h-.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 1ce74e28ba8d6f91aca5830bfbc15897b68fcfac Mon Sep 17 00:00:00 2001
-From: Keith Packard <keithp@keithp.com>
-Date: Sun, 16 Aug 2020 12:44:31 -0700
-Subject: [PATCH] libc: Create a macro for 'errno' so that GCC tsystem.h works
-
-GCC's tsystem.h adds a declaration for errno if it isn't a CPP symbol,
-which it isn't in picolibc as it's just a regular global (thread
-local) variable. Create a function macro with no arguments so that
-
-Signed-off-by: Keith Packard <keithp@keithp.com>
----
- newlib/libc/include/sys/errno.h | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/newlib/libc/include/sys/errno.h b/newlib/libc/include/sys/errno.h
-index 0da73f44e..64f179bc0 100644
---- a/newlib/libc/include/sys/errno.h
-+++ b/newlib/libc/include/sys/errno.h
-@@ -59,6 +59,11 @@ extern NEWLIB_THREAD_LOCAL_ERRNO int errno;
-
- #define __errno_r(ptr) (errno)
- #define __errno() (&errno)
-+/*
-+ * This lets applications check for #ifdef errno without requiring
-+ * that errno be a parameter-less macro
-+ */
-+#define errno() (errno)
-
- #define EPERM 1 /* Not owner */
- #define ENOENT 2 /* No such file or directory */
---
-2.28.0
-
diff --git a/packages/picolibc/1.4.6/chksum b/packages/picolibc/1.4.6/chksum
deleted file mode 100644
index 6b673b7..0000000
--- a/packages/picolibc/1.4.6/chksum
+++ /dev/null
@@ -1,4 +0,0 @@
-md5 1.4.6.tar.gz 9f5cff6d36b278d02e05f4c717855f8c
-sha1 1.4.6.tar.gz de2579dab6cf488b476195edcaaa2b3829d3183f
-sha256 1.4.6.tar.gz 00764d0c0a2e8685fd9c91685ee8c404ef935975eaa07a55b15243558d390a00
-sha512 1.4.6.tar.gz 9a46f63f74292affcce5548968528c98b1614a49fd801a8192c4a276b727ca4355d3d3643daeb1c82a15c8eef703e2983110d95f49111e9f108d1f1760647172
diff --git a/packages/picolibc/1.4.7/chksum b/packages/picolibc/1.4.7/chksum
new file mode 100644
index 0000000..9dc793d
--- /dev/null
+++ b/packages/picolibc/1.4.7/chksum
@@ -0,0 +1,4 @@
+md5 1.4.7.tar.gz a70f6b9690ca5e8ea4af4ed5c10e73c2
+sha1 1.4.7.tar.gz 9bff47dce0a1f01ff7f1a16669dc0851bcc76d11
+sha256 1.4.7.tar.gz c46d37bbdea6eb1eb658f67d05c8c37f2b7e768e54f4d0b4312da9326c0cd92e
+sha512 1.4.7.tar.gz 882e1ce682b084044efa5d2775498168fb0aa49bf5d5a76bc4b47a29ffcc03371e2602ed892e80e8801c2a6a4de340c1ddf0bc963f7b5c53d8c4c4e4a477d9c7
diff --git a/packages/picolibc/1.4.6/version.desc b/packages/picolibc/1.4.7/version.desc
index e69de29..e69de29 100644
--- a/packages/picolibc/1.4.6/version.desc
+++ b/packages/picolibc/1.4.7/version.desc
diff --git a/packages/picolibc/package.desc b/packages/picolibc/package.desc
index 0415e75..6b3ec29 100644
--- a/packages/picolibc/package.desc
+++ b/packages/picolibc/package.desc
@@ -1,6 +1,6 @@
origin='keithp.com'
repository='git https://github.com/keith-packard/picolibc.git'
-milestones='1.4.6'
+milestones='1.4.7'
archive_filename='@{version}'
relevantpattern='*.*|.*. *.*|.'
archive_formats='.tar.gz'