From: Lawrence S. <ljs...@us...> - 2020-07-24 02:27:02
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 4cc401b276210dbc471fa5953cd4f63e319422a8 (commit) from d50dd457bbdde503bd4928ae61d5ce05ff41646f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4cc401b276210dbc471fa5953cd4f63e319422a8 Author: Lawrence Sebald <ljs...@us...> Date: Thu Jul 23 22:26:39 2020 -0400 Fix Newlib 3.3.0 patch to use a sensible type for ino_t. ----------------------------------------------------------------------- Summary of changes: utils/dc-chain/patches/newlib-3.3.0-kos.diff | 34 +++++++++++++++++++--------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/utils/dc-chain/patches/newlib-3.3.0-kos.diff b/utils/dc-chain/patches/newlib-3.3.0-kos.diff index 72091d0..df0357b 100644 --- a/utils/dc-chain/patches/newlib-3.3.0-kos.diff +++ b/utils/dc-chain/patches/newlib-3.3.0-kos.diff @@ -1,17 +1,17 @@ diff -ruN newlib-3.3.0/newlib/configure.host newlib-3.3.0-kos/newlib/configure.host --- newlib-3.3.0/newlib/configure.host 2020-01-22 05:05:51.000000000 -0500 -+++ newlib-3.3.0-kos/newlib/configure.host 2020-03-27 22:02:19.871619000 -0400 ++++ newlib-3.3.0-kos/newlib/configure.host 2020-07-23 22:13:45.290000000 -0400 @@ -319,6 +319,7 @@ ;; sh | sh64) machine_dir=sh -+ newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED -DMALLOC_PROVIDED -DABORT_PROVIDED -DHAVE_FCNTL -ffunction-sections -fdata-sections" ++ newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED -DMALLOC_PROVIDED -DABORT_PROVIDED -DHAVE_FCNTL -ffunction-sections -fdata-sections" ;; sparc*) machine_dir=sparc diff -ruN newlib-3.3.0/newlib/libc/include/assert.h newlib-3.3.0-kos/newlib/libc/include/assert.h --- newlib-3.3.0/newlib/libc/include/assert.h 2020-01-22 05:05:51.000000000 -0500 -+++ newlib-3.3.0-kos/newlib/libc/include/assert.h 2020-03-27 22:02:19.881254900 -0400 ++++ newlib-3.3.0-kos/newlib/libc/include/assert.h 2020-07-23 22:03:41.500000000 -0400 @@ -13,8 +13,8 @@ #ifdef NDEBUG /* required by ANSI standard */ # define assert(__e) ((void)0) @@ -40,7 +40,7 @@ diff -ruN newlib-3.3.0/newlib/libc/include/assert.h newlib-3.3.0-kos/newlib/libc # define static_assert _Static_assert diff -ruN newlib-3.3.0/newlib/libc/include/sys/_pthreadtypes.h newlib-3.3.0-kos/newlib/libc/include/sys/_pthreadtypes.h --- newlib-3.3.0/newlib/libc/include/sys/_pthreadtypes.h 2020-01-22 05:05:51.000000000 -0500 -+++ newlib-3.3.0-kos/newlib/libc/include/sys/_pthreadtypes.h 2020-03-27 22:02:19.889184700 -0400 ++++ newlib-3.3.0-kos/newlib/libc/include/sys/_pthreadtypes.h 2020-07-23 22:03:41.500000000 -0400 @@ -22,16 +22,6 @@ #include <sys/sched.h> @@ -189,7 +189,7 @@ diff -ruN newlib-3.3.0/newlib/libc/include/sys/_pthreadtypes.h newlib-3.3.0-kos/ #endif /* ! _SYS__PTHREADTYPES_H_ */ diff -ruN newlib-3.3.0/newlib/libc/include/sys/signal.h newlib-3.3.0-kos/newlib/libc/include/sys/signal.h --- newlib-3.3.0/newlib/libc/include/sys/signal.h 2020-01-22 05:05:51.000000000 -0500 -+++ newlib-3.3.0-kos/newlib/libc/include/sys/signal.h 2020-03-27 22:21:56.606133100 -0400 ++++ newlib-3.3.0-kos/newlib/libc/include/sys/signal.h 2020-07-23 22:03:41.500000000 -0400 @@ -222,9 +222,11 @@ int sigaltstack (const stack_t *__restrict, stack_t *__restrict); #endif @@ -202,9 +202,21 @@ diff -ruN newlib-3.3.0/newlib/libc/include/sys/signal.h newlib-3.3.0-kos/newlib/ #if __POSIX_VISIBLE >= 199309 +diff -ruN newlib-3.3.0/newlib/libc/include/sys/_types.h newlib-3.3.0-kos/newlib/libc/include/sys/_types.h +--- newlib-3.3.0/newlib/libc/include/sys/_types.h 2020-01-22 05:05:51.000000000 -0500 ++++ newlib-3.3.0-kos/newlib/libc/include/sys/_types.h 2020-07-23 22:10:56.850000000 -0400 +@@ -69,7 +69,7 @@ + + #ifndef __machine_ino_t_defined + #if (defined(__i386__) && (defined(GO32) || defined(__MSDOS__))) || \ +- defined(__sparc__) || defined(__SPU__) ++ defined(__sparc__) || defined(__SPU__) || defined(__sh__) + typedef unsigned long __ino_t; + #else + typedef unsigned short __ino_t; diff -ruN newlib-3.3.0/newlib/libc/stdlib/assert.c newlib-3.3.0-kos/newlib/libc/stdlib/assert.c --- newlib-3.3.0/newlib/libc/stdlib/assert.c 2020-01-22 05:05:51.000000000 -0500 -+++ newlib-3.3.0-kos/newlib/libc/stdlib/assert.c 2020-03-27 22:02:19.897512100 -0400 ++++ newlib-3.3.0-kos/newlib/libc/stdlib/assert.c 2020-07-23 22:03:41.500000000 -0400 @@ -47,6 +47,8 @@ #include <stdlib.h> #include <stdio.h> @@ -222,7 +234,7 @@ diff -ruN newlib-3.3.0/newlib/libc/stdlib/assert.c newlib-3.3.0-kos/newlib/libc/ + diff -ruN newlib-3.3.0/newlib/libc/sys/sh/ftruncate.c newlib-3.3.0-kos/newlib/libc/sys/sh/ftruncate.c --- newlib-3.3.0/newlib/libc/sys/sh/ftruncate.c 2020-01-22 05:05:51.000000000 -0500 -+++ newlib-3.3.0-kos/newlib/libc/sys/sh/ftruncate.c 2020-03-27 22:02:19.906576300 -0400 ++++ newlib-3.3.0-kos/newlib/libc/sys/sh/ftruncate.c 2020-07-23 22:03:41.500000000 -0400 @@ -1,9 +1,2 @@ -#include <_ansi.h> -#include <sys/types.h> @@ -236,7 +248,7 @@ diff -ruN newlib-3.3.0/newlib/libc/sys/sh/ftruncate.c newlib-3.3.0-kos/newlib/li -} diff -ruN newlib-3.3.0/newlib/libc/sys/sh/sys/lock.h newlib-3.3.0-kos/newlib/libc/sys/sh/sys/lock.h --- newlib-3.3.0/newlib/libc/sys/sh/sys/lock.h 1969-12-31 19:00:00.000000000 -0500 -+++ newlib-3.3.0-kos/newlib/libc/sys/sh/sys/lock.h 2020-03-27 22:02:19.914739900 -0400 ++++ newlib-3.3.0-kos/newlib/libc/sys/sh/sys/lock.h 2020-07-23 22:03:41.500000000 -0400 @@ -0,0 +1,52 @@ +/* KallistiOS ##version## + @@ -292,7 +304,7 @@ diff -ruN newlib-3.3.0/newlib/libc/sys/sh/sys/lock.h newlib-3.3.0-kos/newlib/lib + diff -ruN newlib-3.3.0/newlib/libc/sys/sh/syscalls.c newlib-3.3.0-kos/newlib/libc/sys/sh/syscalls.c --- newlib-3.3.0/newlib/libc/sys/sh/syscalls.c 2020-01-22 05:05:51.000000000 -0500 -+++ newlib-3.3.0-kos/newlib/libc/sys/sh/syscalls.c 2020-03-27 22:02:19.921894600 -0400 ++++ newlib-3.3.0-kos/newlib/libc/sys/sh/syscalls.c 2020-07-23 22:03:41.500000000 -0400 @@ -1,228 +1,3 @@ -#include <_ansi.h> -#include <sys/types.h> @@ -526,7 +538,7 @@ diff -ruN newlib-3.3.0/newlib/libc/sys/sh/syscalls.c newlib-3.3.0-kos/newlib/lib -} diff -ruN newlib-3.3.0/newlib/libc/sys/sh/trap.S newlib-3.3.0-kos/newlib/libc/sys/sh/trap.S --- newlib-3.3.0/newlib/libc/sys/sh/trap.S 2020-01-22 05:05:51.000000000 -0500 -+++ newlib-3.3.0-kos/newlib/libc/sys/sh/trap.S 2020-03-27 22:02:19.928023800 -0400 ++++ newlib-3.3.0-kos/newlib/libc/sys/sh/trap.S 2020-07-23 22:03:41.500000000 -0400 @@ -1,43 +0,0 @@ -#if __SH5__ - .mode SHmedia @@ -573,7 +585,7 @@ diff -ruN newlib-3.3.0/newlib/libc/sys/sh/trap.S newlib-3.3.0-kos/newlib/libc/sy -#endif /* ! __SH5__ */ diff -ruN newlib-3.3.0/newlib/libc/sys/sh/truncate.c newlib-3.3.0-kos/newlib/libc/sys/sh/truncate.c --- newlib-3.3.0/newlib/libc/sys/sh/truncate.c 2020-01-22 05:05:51.000000000 -0500 -+++ newlib-3.3.0-kos/newlib/libc/sys/sh/truncate.c 2020-03-27 22:02:19.932553000 -0400 ++++ newlib-3.3.0-kos/newlib/libc/sys/sh/truncate.c 2020-07-23 22:03:41.500000000 -0400 @@ -1,9 +1,2 @@ -#include <_ansi.h> -#include <sys/types.h> hooks/post-receive -- A pseudo Operating System for the Dreamcast. |