summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/musl/3002-ustat.patch27
-rw-r--r--system/musl/APKBUILD4
2 files changed, 30 insertions, 1 deletions
diff --git a/system/musl/3002-ustat.patch b/system/musl/3002-ustat.patch
new file mode 100644
index 000000000..fd10fd2b6
--- /dev/null
+++ b/system/musl/3002-ustat.patch
@@ -0,0 +1,27 @@
+From 02561fa14b2c6a97e3975187a5664cc44bdea8ce Mon Sep 17 00:00:00 2001
+From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
+Date: Fri, 22 Jun 2018 01:45:18 -0500
+Subject: [PATCH] Add legacy ustat(2) syscall support for GCC Go
+
+---
+ src/legacy/ustat.c | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+ create mode 100644 src/legacy/ustat.c
+
+diff --git a/src/legacy/ustat.c b/src/legacy/ustat.c
+new file mode 100644
+index 00000000..1774a466
+--- /dev/null
++++ b/src/legacy/ustat.c
+@@ -0,0 +1,8 @@
++#include <sys/types.h>
++#include "syscall.h"
++
++int ustat(dev_t dev, void *ubuf)
++{
++ int ret = __syscall(SYS_ustat, dev, ubuf);
++ return __syscall_ret(ret);
++}
+--
+2.15.0
+
diff --git a/system/musl/APKBUILD b/system/musl/APKBUILD
index 594460e9e..6df306afc 100644
--- a/system/musl/APKBUILD
+++ b/system/musl/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=musl
pkgver=1.1.19
-pkgrel=7
+pkgrel=8
pkgdesc="System library (libc) implementation"
url="http://www.musl-libc.org/"
arch="all"
@@ -28,6 +28,7 @@ source="http://www.musl-libc.org/releases/musl-$pkgver.tar.gz
2000-pthread-internals-increase-DEFAULT_GUARD_SIZE-to-2-p.patch
3001-make-real-lastlog-h.patch
+ 3002-ustat.patch
complex-math.patch
complex-math2.patch
handle-aux-at_base.patch
@@ -127,6 +128,7 @@ d0d0817a4e1d57b74cb442a3bf8d8efe39a23a387275b75cba1b2fa354d8a7dc2fd843b5b67584aa
6f5f9b5fb5eba638b0d98c68c280dbcc2bdae58d94d9f6966f5de55f6dd5d7f3cdddd9ca758e8861e30841b80ba616a945fb2b885a31481707d578293b187ff0 0007-abort-raise-SIGABRT-again-if-signal-is-ignored.patch
2c8e1dde1834238097b2ee8a7bfb53471a0d9cff4a5e38b55f048b567deff1cdd47c170d0578a67b1a039f95a6c5fbb8cff369c75b6a3e4d7ed171e8e86ebb8c 2000-pthread-internals-increase-DEFAULT_GUARD_SIZE-to-2-p.patch
ec3a8452b85121f2c04e3208ff8bb69824ddd576a2481a16a7c4a05fc107a7caf0ab772703c82956ee2bb251ca3661e4d5a1fef13ef4a2f513b168a9a46153ea 3001-make-real-lastlog-h.patch
+6ee044432e4afa62eba6c690735b9f2fdb826c63c602907fe1cc97219bfee37fe12bac7b252c8adf0d3712b4c4c15e74776ee3b2526cab9814c14274506ab5d9 3002-ustat.patch
8909dc260968770ace8f3ffdc04c6c7d20933ff115b4fa3e512fb7460860a8216c73ca7a7ad54f59cb5988ef011f02bf18aa13cc2287cc64ffdb8db84ef69d47 complex-math.patch
c34ae0c8c2b05d82bc6bd341ceb29041f6e1a1d2c7b2f4f289ab620288bfb1e1ddabc4cb2fc85220c1fbe735874c38a9b00af636644584c7cd1e895d54564a22 complex-math2.patch
6a7ff16d95b5d1be77e0a0fbb245491817db192176496a57b22ab037637d97a185ea0b0d19da687da66c2a2f5578e4343d230f399d49fe377d8f008410974238 handle-aux-at_base.patch