修改编译错误

This commit is contained in:
shaozhimin 2023-04-03 11:43:05 +08:00 committed by cckylin-cibot
parent 24493d978f
commit ea6cd123dc
3 changed files with 36 additions and 0 deletions

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
libkysdk-system (2.0.0.0-ok8) yangtze; urgency=medium
*Bug号
*需求号:
*其他修改:修改编译错误
-- szm-min <shaozhimin@kylinos.cn> Mon, 03 Apr 2023 11:41:11 +0800
libkysdk-system (2.0.0.0-ok7) yangtze; urgency=medium
*Bug号

27
debian/patches/0006-.patch vendored Normal file
View File

@ -0,0 +1,27 @@
From: shaozhimin <shaozhimin@kylinos.cn>
Date: Mon, 3 Apr 2023 11:43:05 +0800
Subject: =?utf-8?b?5L+u5pS557yW6K+R6ZSZ6K+v?=
---
src/systeminfo/test/kysysinfo_test.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/src/systeminfo/test/kysysinfo_test.c b/src/systeminfo/test/kysysinfo_test.c
index 213fe64..1f2f7f5 100644
--- a/src/systeminfo/test/kysysinfo_test.c
+++ b/src/systeminfo/test/kysysinfo_test.c
@@ -60,14 +60,5 @@ int main()
count ++;
}
kdk_resolving_freeall(name);
-
- char *ver = kdk_system_get_systemCategory();
- printf("系统版本类别 = %s\n", ver);
- free(ver);
-
- ver = kdk_system_get_cloudPlatformType();
- printf("云平台类型 = %s\n", ver);
- free(ver);
-
return 0;
}

View File

@ -3,3 +3,4 @@
0003-update-changelog.patch
0004-8-hardware-pc-CmakeLists-control-hardware.patch
0005-update-date.patch
0006-.patch