diff options
Diffstat (limited to 'debian/patches/kfreebsd/lldb_source_Plugins_Process_FreeBSD.diff')
-rw-r--r-- | debian/patches/kfreebsd/lldb_source_Plugins_Process_FreeBSD.diff | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/kfreebsd/lldb_source_Plugins_Process_FreeBSD.diff b/debian/patches/kfreebsd/lldb_source_Plugins_Process_FreeBSD.diff new file mode 100644 index 0000000..f519b31 --- /dev/null +++ b/debian/patches/kfreebsd/lldb_source_Plugins_Process_FreeBSD.diff @@ -0,0 +1,28 @@ +Index: llvm-toolchain-8-8~+rc1/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp +=================================================================== +--- llvm-toolchain-8-8~+rc1.orig/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp ++++ llvm-toolchain-8-8~+rc1/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp +@@ -9,7 +9,9 @@ + + #include <errno.h> + #include <pthread.h> ++#ifndef __FreeBSD_kernel__ + #include <pthread_np.h> ++#endif + #include <stdlib.h> + #include <sys/sysctl.h> + #include <sys/types.h> +Index: llvm-toolchain-8-8~+rc1/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp +=================================================================== +--- llvm-toolchain-8-8~+rc1.orig/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp ++++ llvm-toolchain-8-8~+rc1/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp +@@ -10,7 +10,9 @@ + + #include <errno.h> + #include <pthread.h> ++#ifndef __FreeBSD_kernel__ + #include <pthread_np.h> ++#endif + #include <stdlib.h> + #include <sys/sysctl.h> + #include <sys/types.h> |