imake/0001-imake-1.0.2-for-abort.patch
2023-07-21 19:01:08 +08:00

32 lines
731 B
Diff

From b7f12f0a3b7bbfa782e68490036861eb774c9e38 Mon Sep 17 00:00:00 2001
From: houlifei <houlifei@uniontech.com>
Date: Fri, 21 Jul 2023 17:00:20 +0800
Subject: [PATCH] imake-1.0.2-for-abort
---
imake.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/imake.c b/imake.c
index 4597f6c..103d7ca 100644
--- a/imake.c
+++ b/imake.c
@@ -1000,8 +1000,12 @@ get_libc_version(FILE *inFile)
len = pclose (fp);
remove (aout);
- if (len)
- abort ();
+ if (len) {
+ /* handwave furiously */
+ printf("#define DefaultLinuxCLibMajorVersion 6\n");
+ printf("#define DefaultLinuxCLibMinorVersion 12\n");
+ printf("#define DefaultLinuxCLibTeenyVersion 0\n");
+ }
}
#endif
--
2.33.0