1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 11:45:06 +00:00
serenity/Ports/git/patches/have_no_sysinfo.patch
Ben Wiederhake 4100aa52d9 Ports: Fix cross-compiling git for serenity
No idea how this is supposed to work, because git's buildscripts execute
'uname -S' to determine which functions are available - and that's not how
cross-compilation works.
2021-03-14 11:30:38 +01:00

11 lines
401 B
Diff

--- git-2.26.0/config.mak.uname.orig 2021-03-13 13:30:24.439217597 +0100
+++ git-2.26.0/config.mak.uname 2021-03-13 13:30:32.747203874 +0100
@@ -57,7 +57,7 @@
HAVE_GETDELIM = YesPlease
SANE_TEXT_GREP=-a
FREAD_READS_DIRECTORIES = UnfortunatelyYes
- BASIC_CFLAGS += -DHAVE_SYSINFO
+ # BASIC_CFLAGS += -DHAVE_SYSINFO
PROCFS_EXECUTABLE_PATH = /proc/self/exe
endif
ifeq ($(uname_S),GNU/kFreeBSD)