summaryrefslogtreecommitdiff
path: root/system/musl/amalgamation.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-08 15:09:26 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-08 15:09:26 +0000
commit2b1a10d34bf6683f737aa1e510101b340c8df3db (patch)
tree44460fb15270c548ce28cf163b1e9740cc324a5e /system/musl/amalgamation.patch
parent0a75f9b4d51fb8a04950c558e8fee3197f6ea2c3 (diff)
downloadpackages-2b1a10d34bf6683f737aa1e510101b340c8df3db.tar.gz
packages-2b1a10d34bf6683f737aa1e510101b340c8df3db.tar.bz2
packages-2b1a10d34bf6683f737aa1e510101b340c8df3db.tar.xz
packages-2b1a10d34bf6683f737aa1e510101b340c8df3db.zip
system/musl: some day it *will* build on ppc32
Diffstat (limited to 'system/musl/amalgamation.patch')
-rw-r--r--system/musl/amalgamation.patch16
1 files changed, 6 insertions, 10 deletions
diff --git a/system/musl/amalgamation.patch b/system/musl/amalgamation.patch
index ba2c43d3c..8f018a07a 100644
--- a/system/musl/amalgamation.patch
+++ b/system/musl/amalgamation.patch
@@ -366,18 +366,14 @@ index cc53d536..98caa1f6 100644
val = tm->tm_hour;
if (!val) val = 12;
diff --git a/src/time/timespec_get.c b/src/time/timespec_get.c
-index 40ea9c1c..6ba68559 100644
+index 40ea9c1c..e396da09 100644
--- a/src/time/timespec_get.c
+++ b/src/time/timespec_get.c
-@@ -4,7 +4,7 @@
- * are considered erroneous. */
- int timespec_get(struct timespec * ts, int base)
- {
-- if (base != TIME_UTC) return 0;
-+ if (base != 1) return 0;
- int ret = __clock_gettime(CLOCK_REALTIME, ts);
- return ret < 0 ? 0 : base;
- }
+@@ -1,3 +1,4 @@
++#define _BSD_SOURCE
+ #include <time.h>
+
+ /* There is no other implemented value than TIME_UTC; all other values
diff --git a/src/unistd/faccessat.c b/src/unistd/faccessat.c
index 76bbd4c7..0b4564f9 100644
--- a/src/unistd/faccessat.c