From 909faea05a82c9236253d882d0ee4c07886878ba Mon Sep 17 00:00:00 2001 From: Emil Kosz Date: Tue, 22 Sep 2026 22:16:15 +0200 Subject: [PATCH] build: remove patch unnecessary on los-16.0 --- 0001-art-mem-map-fix-mmap-on-kernel-518.patch | 14 -------------- build.sh | 8 -------- 2 files changed, 22 deletions(-) delete mode 100644 0001-art-mem-map-fix-mmap-on-kernel-518.patch diff --git a/0001-art-mem-map-fix-mmap-on-kernel-518.patch b/0001-art-mem-map-fix-mmap-on-kernel-518.patch deleted file mode 100644 index bccfcba..0000000 --- a/0001-art-mem-map-fix-mmap-on-kernel-518.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/art/runtime/mem_map.cc 2026-09-17 09:32:04.741988772 +0200 -+++ b/art/runtime/mem_map.cc 2026-09-17 09:32:26.208150692 +0200 -@@ -393,6 +393,11 @@ - DCHECK(ContainedWithinExistingMap(expected_ptr, byte_count, error_msg)) - << ((error_msg != nullptr) ? *error_msg : std::string()); - flags |= MAP_FIXED; -+#if !defined(ART_TARGET) -+ } else if (expected_ptr) { -+#define MAP_FIXED_NOREPLACE 0x100000 -+ flags |= MAP_FIXED_NOREPLACE; -+#endif - } else { - CHECK_EQ(0, flags & MAP_FIXED); - // Don't bother checking for an overlapping region here. We'll diff --git a/build.sh b/build.sh index d754aea..9286bdd 100755 --- a/build.sh +++ b/build.sh @@ -45,14 +45,6 @@ do_build() { repo sync -c -j"$(nproc)" fi - rlte_print "Applying patches" - - for p in "$ROOT"/*.patch; do - [ -e "$p" ] || continue - patch -p1 --forward --batch --dry-run < "$p" || continue - patch -p1 --batch < "$p" - done - export LC_ALL=C LANG=C USE_CCACHE=1 CCACHE_DIR="$ROOT/.ccache" \ JACK_SERVER=false JACK_NO_SERVER=1 \ JACK_REPOSITORY="$ROOT/.jack-repository" TOP="$PWD" \