From 2b1a10d34bf6683f737aa1e510101b340c8df3db Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 8 Dec 2019 15:09:26 +0000 Subject: system/musl: some day it *will* build on ppc32 --- system/musl/amalgamation.patch | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'system/musl/amalgamation.patch') 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 + + /* 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 -- cgit v1.2.3-60-g2f50