diff --git a/dka64/patches/newlib-2.5.0.20170922.patch b/dka64/patches/newlib-2.5.0.20170922.patch index 54597a1..66bd47a 100644 --- a/dka64/patches/newlib-2.5.0.20170922.patch +++ b/dka64/patches/newlib-2.5.0.20170922.patch @@ -7451,7 +7451,7 @@ index 000000000..10a6a716d +#endif // __iosupp_h__ +//--------------------------------------------------------------------------------- diff --git a/newlib/libc/include/sys/lock.h b/newlib/libc/include/sys/lock.h -index 42f9c4cd9..567fed56b 100644 +index 42f9c4cd9..a755d6443 100644 --- a/newlib/libc/include/sys/lock.h +++ b/newlib/libc/include/sys/lock.h @@ -1,69 +1,66 @@ @@ -7488,10 +7488,10 @@ index 42f9c4cd9..567fed56b 100644 +extern int __libc_lock_try_acquire_recursive(_LOCK_RECURSIVE_T *lock); + +#define __LOCK_INIT(CLASS,NAME) \ -+CLASS _LOCK_T NAME = 1; ++CLASS _LOCK_T NAME = 0; + +#define __LOCK_INIT_RECURSIVE(CLASS,NAME) \ -+CLASS _LOCK_RECURSIVE_T NAME = {1,0,0}; ++CLASS _LOCK_RECURSIVE_T NAME = {0,0,0}; + +#define __lock_init(NAME) \ + __libc_lock_init(&(NAME)) diff --git a/dka64/scripts/build-gcc.sh b/dka64/scripts/build-gcc.sh index b5362bf..0d8a32b 100755 --- a/dka64/scripts/build-gcc.sh +++ b/dka64/scripts/build-gcc.sh @@ -62,7 +62,7 @@ then --prefix=$prefix \ --enable-lto $plugin_ld\ --with-system-zlib \ - --with-bugurl="https://github.com/devkitPro/buildscripts/issues" --with-pkgversion="devkitA64 alpha 5" \ + --with-bugurl="https://github.com/devkitPro/buildscripts/issues" --with-pkgversion="devkitA64 alpha 6" \ $CROSS_PARAMS \ || { echo "Error configuring gcc"; exit 1; } touch configured-gcc