1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:27:35 +00:00

Ports/git: Update git to version 2.40.0

This commit is contained in:
Cameron Youell 2023-03-27 17:25:00 +11:00 committed by Linus Groh
parent ba30f298f9
commit 20b1a3b682
4 changed files with 5 additions and 28 deletions

View file

@ -34,25 +34,6 @@ index 89447a50838562795bb80172db8102ff7a42e91b..3552e1807860b30eb18366487e547634
}
static void finish_early_output(struct rev_info *rev)
diff --git a/git-compat-util.h b/git-compat-util.h
index a76d0526f79266e1dc512072a4236876df8f8726..596ac243f673d30748e3792d7926ea1b22d4911e 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -1471,14 +1471,6 @@ int open_nofollow(const char *path, int flags);
#endif
#ifndef _POSIX_THREAD_SAFE_FUNCTIONS
-static inline void flockfile(FILE *fh UNUSED)
-{
- ; /* nothing */
-}
-static inline void funlockfile(FILE *fh UNUSED)
-{
- ; /* nothing */
-}
#define getc_unlocked(fh) getc(fh)
#endif
diff --git a/progress.c b/progress.c
index 0cdd875d37f166bedbbeb5f0e889046674ed58be..4b7f5b0b5a48b1b895befef12217e5822d118563 100644
--- a/progress.c

View file

@ -1,13 +1,9 @@
# Patches for git on SerenityOS
## `0001-Remove-some-unimplemented-function-calls.patch`
## `0001-Remove-unimplemented-setitimer-calls.patch`
Remove some unimplemented function calls
i.e. f(un)lockfile stubs and setitimer.
Remove unimplemented setitimer function calls
## `0002-Remove-uname-detection-in-config.mak.uname.patch`
Remove uname detection in config.mak.uname