Merge staging-next into staging
This commit is contained in:
@@ -106,6 +106,14 @@ let
|
||||
# Fix multiple definition errors by using C++17 instead of C++11
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace "set(CMAKE_CXX_STANDARD 11)" "set(CMAKE_CXX_STANDARD 17)"
|
||||
# Fix the build with CMake 4.
|
||||
# See:
|
||||
# * <https://github.com/webmproject/sjpeg/commit/9990bdceb22612a62f1492462ef7423f48154072>
|
||||
# * <https://github.com/webmproject/sjpeg/commit/94e0df6d0f8b44228de5be0ff35efb9f946a13c9>
|
||||
substituteInPlace third_party/sjpeg/CMakeLists.txt \
|
||||
--replace-fail \
|
||||
'cmake_minimum_required(VERSION 2.8.7)' \
|
||||
'cmake_minimum_required(VERSION 3.5...3.10)'
|
||||
'';
|
||||
postInstall = "";
|
||||
|
||||
|
||||
@@ -31,6 +31,9 @@ stdenv.mkDerivation rec {
|
||||
# https://lists.gnu.org/archive/html/bug-gnulib/2025-07/msg00021.html
|
||||
# Multiple upstream commits squashed with adjustments, see header
|
||||
./gnulib-float-h-tests-port-to-C23-PowerPC-GCC.patch
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.useLLVM [
|
||||
./musl-llvm.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
gnulib-tests/test-c32ispunct.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/gnulib-tests/test-c32ispunct.c
|
||||
+++ b/gnulib-tests/test-c32ispunct.c
|
||||
@@ -255,7 +255,7 @@ main (int argc, char *argv[])
|
||||
is = for_character ("\360\235\204\200", 4);
|
||||
ASSERT (is != 0);
|
||||
#endif
|
||||
- #if !(defined __GLIBC__ || (defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ || defined _AIX || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__) || defined __ANDROID__)
|
||||
+ #if !(defined __GLIBC__ || defined MUSL_LIBC || (defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ || defined _AIX || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__) || defined __ANDROID__)
|
||||
/* U+E003A TAG COLON */
|
||||
is = for_character ("\363\240\200\272", 4);
|
||||
ASSERT (is == 0);
|
||||
Reference in New Issue
Block a user