summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-02-20 18:49:02 -0800
committerMichael Forney <mforney@mforney.org>2020-02-20 18:49:06 -0800
commit0d8fcdb0bccfe0c41b887f39d94e105711dd917a (patch)
treef158ae0f9acfc6b4e757cfbdc7142d0c66190f84 /pkg
parent4cf930a35550348540635a99839b0b639c3aa355 (diff)
musl: Update to 1.2.0
Diffstat (limited to 'pkg')
-rw-r--r--pkg/musl/base.lua2
-rw-r--r--pkg/musl/patch/0001-unconditonally-define-alloca-as-__builtin_alloca.patch31
m---------pkg/musl/src0
-rw-r--r--pkg/musl/ver2
-rw-r--r--pkg/musl/x86_64.lua2
5 files changed, 3 insertions, 34 deletions
diff --git a/pkg/musl/base.lua b/pkg/musl/base.lua
index 4b2ef236..d14a84ab 100644
--- a/pkg/musl/base.lua
+++ b/pkg/musl/base.lua
@@ -1514,6 +1514,7 @@ return {
},
bits={
-- <cd src/arch/generic/bits && printf "\t\t'%s',\n" *.h
+ 'dirent.h',
'errno.h',
'fcntl.h',
'fenv.h',
@@ -1524,6 +1525,7 @@ return {
'ipc.h',
'ipcstat.h',
'kd.h',
+ 'limits.h',
'link.h',
'mman.h',
'msg.h',
diff --git a/pkg/musl/patch/0001-unconditonally-define-alloca-as-__builtin_alloca.patch b/pkg/musl/patch/0001-unconditonally-define-alloca-as-__builtin_alloca.patch
deleted file mode 100644
index ca6aab40..00000000
--- a/pkg/musl/patch/0001-unconditonally-define-alloca-as-__builtin_alloca.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 6713ec14544e51af61ac40b01b0021df791b38ea Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Tue, 19 Nov 2019 01:56:34 -0800
-Subject: [PATCH] unconditonally define alloca as __builtin_alloca
-
-This enables alternative compilers, which may not define __GNUC__,
-to implement alloca, which is still fairly widely used.
-
-This is similar to how stdarg.h already works in musl; compilers must
-implement __builtin_va_arg, there is no fallback definition.
----
- include/alloca.h | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/include/alloca.h b/include/alloca.h
-index d2e6f1c6..b8d183d1 100644
---- a/include/alloca.h
-+++ b/include/alloca.h
-@@ -10,9 +10,7 @@ extern "C" {
-
- void *alloca(size_t);
-
--#ifdef __GNUC__
- #define alloca __builtin_alloca
--#endif
-
- #ifdef __cplusplus
- }
---
-2.25.0
-
diff --git a/pkg/musl/src b/pkg/musl/src
-Subproject ea9525c8bcf6170df59364c4bcd616de1acf870
+Subproject 040c1d16b468c50c04fc94edff521f163770832
diff --git a/pkg/musl/ver b/pkg/musl/ver
index 1533e427..f9221692 100644
--- a/pkg/musl/ver
+++ b/pkg/musl/ver
@@ -1 +1 @@
-1.1.24 r1
+1.2.0 r0
diff --git a/pkg/musl/x86_64.lua b/pkg/musl/x86_64.lua
index 643e6343..912229a6 100644
--- a/pkg/musl/x86_64.lua
+++ b/pkg/musl/x86_64.lua
@@ -49,7 +49,6 @@ return {
},
bits={
-- <cd src/arch/x86_64/bits && printf "\t\t'%s',\n" *.h
- 'endian.h',
'fcntl.h',
'fenv.h',
'float.h',
@@ -62,7 +61,6 @@ return {
'sem.h',
'setjmp.h',
'signal.h',
- 'socket.h',
'stat.h',
'stdint.h',
'user.h',