From b7d187e5e1f4a58e302bd02c6cd7f3b65d2924d0 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 27 Apr 2024 11:21:12 +0200 Subject: [PATCH] remove 16 specific patches --- debian/patches/asan-allocator.diff | 22 -------------------- debian/patches/remove-unused-imp-module.diff | 10 --------- 2 files changed, 32 deletions(-) delete mode 100644 debian/patches/asan-allocator.diff delete mode 100644 debian/patches/remove-unused-imp-module.diff diff --git a/debian/patches/asan-allocator.diff b/debian/patches/asan-allocator.diff deleted file mode 100644 index ff9a4ec1..00000000 --- a/debian/patches/asan-allocator.diff +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/compiler-rt/lib/asan/asan_allocator.h b/compiler-rt/lib/asan/asan_allocator.h -index 0b4dbf03bb9d53..6a12a6c6025283 100644 ---- a/compiler-rt/lib/asan/asan_allocator.h -+++ b/compiler-rt/lib/asan/asan_allocator.h -@@ -143,11 +143,15 @@ typedef DefaultSizeClassMap SizeClassMap; - const uptr kAllocatorSpace = ~(uptr)0; - const uptr kAllocatorSize = 0x8000000000ULL; // 500G - typedef DefaultSizeClassMap SizeClassMap; --# else -+# elif SANITIZER_APPLE - const uptr kAllocatorSpace = 0x600000000000ULL; - const uptr kAllocatorSize = 0x40000000000ULL; // 4T. - typedef DefaultSizeClassMap SizeClassMap; --# endif -+# else -+const uptr kAllocatorSpace = 0x500000000000ULL; -+const uptr kAllocatorSize = 0x40000000000ULL; // 4T. -+typedef DefaultSizeClassMap SizeClassMap; -+# endif - template - struct AP64 { // Allocator64 parameters. Deliberately using a short name. - static const uptr kSpaceBeg = kAllocatorSpace; diff --git a/debian/patches/remove-unused-imp-module.diff b/debian/patches/remove-unused-imp-module.diff deleted file mode 100644 index 1553232f..00000000 --- a/debian/patches/remove-unused-imp-module.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- a/clang/tools/scan-view/bin/scan-view -+++ b/clang/tools/scan-view/bin/scan-view -@@ -6,7 +6,6 @@ - """ - - import sys --import imp - import os - import posixpath - import threading