mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-28 15:07:24 +00:00

* hurd-EIEIO-undef.diff: Drop patch, already fixed a different way upstream. * hurd-pathmax.diff: Drop now-useless parts.
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
Index: llvm-toolchain-snapshot_9~svn352610/lldb/include/lldb/lldb-defines.h
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_9~svn352610.orig/lldb/include/lldb/lldb-defines.h
|
|
+++ llvm-toolchain-snapshot_9~svn352610/lldb/include/lldb/lldb-defines.h
|
|
@@ -27,6 +27,11 @@
|
|
#define INT32_MAX 2147483647
|
|
#endif
|
|
|
|
+// For GNU Hurd
|
|
+#if defined(__GNU__) && !defined(PATH_MAX)
|
|
+# define PATH_MAX 4096
|
|
+#endif
|
|
+
|
|
#if !defined(UINT32_MAX)
|
|
#define UINT32_MAX 4294967295U
|
|
#endif
|
|
Index: llvm-toolchain-snapshot_9~svn352610/polly/lib/External/ppcg/cuda_common.c
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_9~svn352610.orig/polly/lib/External/ppcg/cuda_common.c
|
|
+++ llvm-toolchain-snapshot_9~svn352610/polly/lib/External/ppcg/cuda_common.c
|
|
@@ -15,6 +15,11 @@
|
|
#include "cuda_common.h"
|
|
#include "ppcg.h"
|
|
|
|
+// For GNU Hurd
|
|
+#if defined(__GNU__) && !defined(PATH_MAX)
|
|
+# define PATH_MAX 4096
|
|
+#endif
|
|
+
|
|
/* Open the host .cu file and the kernel .hu and .cu files for writing.
|
|
* Add the necessary includes.
|
|
*/
|