1 Star 0 Fork 13

李恬/imake

forked from src-openEuler/imake 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-imake-1.0.2-for-abort.patch 731 Bytes
一键复制 编辑 原始数据 按行查看 历史
houlifei 提交于 2023-07-21 19:01 +08:00 . Package upgrade to latest
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/litian_code/imake.git
git@gitee.com:litian_code/imake.git
litian_code
imake
imake
master

搜索帮助