Try to workaround issue 63613

This commit is contained in:
Sylvestre Ledru 2023-06-30 14:17:10 +02:00
parent e8709bc518
commit 9189f11aef
3 changed files with 14 additions and 0 deletions

1
debian/changelog vendored
View File

@ -8,6 +8,7 @@ llvm-toolchain-snapshot (1:17~++20230603110125+d072d110227d-1~exp1) experimental
* Try to pass MAKE_C_COMPILER_LAUNCHER and CMAKE_CXX_COMPILER_LAUNCHER
in CLANG_BOOTSTRAP_PASSTHROUGH for sccache in stage2
* Disable python3-lldb-17 for buster (it has been this way for a while)
* Try to workaround issue 63613
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 09 Jun 2023 13:25:01 +0200

12
debian/patches/fix-issue-63613.diff vendored Normal file
View File

@ -0,0 +1,12 @@
Index: llvm-toolchain-snapshot_17~++20230630093049+0446bfcc5ca2/libcxx/src/filesystem/posix_compat.h
===================================================================
--- llvm-toolchain-snapshot_17~++20230630093049+0446bfcc5ca2.orig/libcxx/src/filesystem/posix_compat.h
+++ llvm-toolchain-snapshot_17~++20230630093049+0446bfcc5ca2/libcxx/src/filesystem/posix_compat.h
@@ -39,6 +39,7 @@
# include <fcntl.h>
# include <unistd.h>
# include <sys/stat.h>
+# include <sys/cdefs.h>
# include <sys/statvfs.h>
# include <sys/time.h>
#endif

View File

@ -149,3 +149,4 @@ force-sse2-compiler-rt.diff
bolt-disable-emit-relocs.patch
link-grpc.diff
fix-issue-63613.diff