From 19e1ff660db8a6653d67884d10bc830babc1560d Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 13 Oct 2019 17:16:35 +0200 Subject: improve patch handling in allocator.py * patches are only applied if they aren't applied already * patch no uses -p0 so git diff patches must be adjusted --- src/allocators/scalloc/scalloc_fix_log.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/allocators/scalloc/scalloc_fix_log.patch') diff --git a/src/allocators/scalloc/scalloc_fix_log.patch b/src/allocators/scalloc/scalloc_fix_log.patch index eaae806..9d4a7d8 100644 --- a/src/allocators/scalloc/scalloc_fix_log.patch +++ b/src/allocators/scalloc/scalloc_fix_log.patch @@ -1,7 +1,7 @@ -diff --git a/src/log.h b/src/log.h +diff --git src/log.h src/log.h index 3edc36d..e1d181c 100644 ---- a/src/log.h -+++ b/src/log.h +--- src/log.h ++++ src/log.h @@ -46,13 +46,13 @@ inline void LogPrintf( snprintf(line_buffer, sizeof(line_buffer), "%d", line); -- cgit v1.2.3