commit df57e44a08fd5c7dc159254a40f5d2e4d008e8df (HEAD, refs/remotes/origin/master) Author: Eli Zaretskii Date: Thu Sep 5 08:38:16 2024 +0300 ; Another fix for str2sig.h diff --git a/lib/sig2str.h b/lib/sig2str.h index bfb207777cc..62b6d628f12 100644 --- a/lib/sig2str.h +++ b/lib/sig2str.h @@ -32,10 +32,10 @@ # define SIG2STR_MAX (5 + 1 + 10 + 1 + 2) #endif -#ifndef HAVE_SIG2STR +#ifdef __MINGW32__ int sig2str (int, char *); #endif -#ifndef HAVE_STR2SIG +#ifdef __MINGW32__ int str2sig (char const *, int *); #endif commit 91e7b47d6c56e7963be232de8057e1a3f710f1b5 Author: Eli Zaretskii Date: Thu Sep 5 08:26:00 2024 +0300 ; Fix last change in lib/sig2str.h. diff --git a/lib/sig2str.h b/lib/sig2str.h index 03d50c94317..bfb207777cc 100644 --- a/lib/sig2str.h +++ b/lib/sig2str.h @@ -17,6 +17,11 @@ /* Written by Paul Eggert. */ +/* This file uses HAVE_* macros. */ +# if !_GL_CONFIG_H_INCLUDED +# error "Please include config.h first." +# endif + #include /* Maximum size of a signal name returned by sig2str(), including the commit b737c6125d69497ad5d2a29d4b5a2b17698992e5 Author: Eli Zaretskii Date: Thu Sep 5 08:20:59 2024 +0300 Fix MinGW build broken by recent update from Gnulib Gnulib moved the prototypes of 'sig2str' and 'str2sig' from sig2str.h to signal.h, but MinGW does not use the Gnulib signal.h header, and doesn't have these functions in its own signal.h. * lib/sig2str.h (SIG2STR_MAX, sig2str, str2sig): Define and prototype if not already defined. diff --git a/lib/sig2str.h b/lib/sig2str.h index 1abdb140e5a..03d50c94317 100644 --- a/lib/sig2str.h +++ b/lib/sig2str.h @@ -19,6 +19,21 @@ #include +/* Maximum size of a signal name returned by sig2str(), including the + terminating NUL byte. */ +#ifndef SIG2STR_MAX +/* The longest one: "RTMAX", then "+" or "-", then up to 10 digits, then NUL. + Add + 2 as a reserve for the future. */ +# define SIG2STR_MAX (5 + 1 + 10 + 1 + 2) +#endif + +#ifndef HAVE_SIG2STR +int sig2str (int, char *); +#endif +#ifndef HAVE_STR2SIG +int str2sig (char const *, int *); +#endif + /* An upper bound on signal numbers allowed by the system. */ #if defined _sys_nsig commit 73367ea5c1821e46cea57fda424a8a65ac5e586a Author: Po Lu Date: Thu Sep 5 10:47:51 2024 +0800 Better port to Android 35 * java/INSTALL: Don't refer users to build-tools 33.0.x. * java/res/values-v35/styles.xml: New dark theme; define status bar colors properly for this release. diff --git a/java/INSTALL b/java/INSTALL index fa13a4d107d..242dd776923 100644 --- a/java/INSTALL +++ b/java/INSTALL @@ -116,8 +116,7 @@ DEX format employed by Android. There is one subdirectory for each version of the build tools, but the version you opt for is not of paramount significance: if your version does not work, configure will protest, so install a newer one. We anticipate that most recent -releases will work, such as those from the 33.0.x, 34.0.x, and 35.0.x -series. +releases will work, such as those from the 34.0.x, and 35.0.x series. BUILDING WITH OLD NDK VERSIONS diff --git a/java/res/values-v35/styles.xml b/java/res/values-v35/styles.xml new file mode 100644 index 00000000000..7d2f816130d --- /dev/null +++ b/java/res/values-v35/styles.xml @@ -0,0 +1,30 @@ + + + + + +