mirror of
https://gitee.com/openharmony/third_party_ncurses
synced 2024-11-23 05:49:55 +00:00
Cross-compilation capability for OHOS system support.
Issue: https://gitee.com/openharmony/third_party_llvm-project/issues/I9GMT2 Signed-off-by: liujia178 <liujia178@huawei.com> Change-Id: I07008b572f0b47085cb78030a20031335fc0df96
This commit is contained in:
parent
2ce0e6cb79
commit
31b4818c7f
34
cross_compile_support_ohos.patch
Normal file
34
cross_compile_support_ohos.patch
Normal file
@ -0,0 +1,34 @@
|
||||
--- ncurses/config.sub 2021-08-15 00:20:38.000000000 +0800
|
||||
+++ ncurses/config.sub 2024-03-06 16:39:06.453008203 +0800
|
||||
@@ -1748,7 +1748,7 @@
|
||||
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
|
||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
||||
- | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
|
||||
+ | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* | ohos*)
|
||||
;;
|
||||
# This one is extra strict with allowed versions
|
||||
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
||||
@@ -1786,6 +1786,8 @@
|
||||
;;
|
||||
*-eabi* | *-gnueabi*)
|
||||
;;
|
||||
+ *-ohos*)
|
||||
+ ;;
|
||||
-*)
|
||||
# Blank kernel with real OS is always fine.
|
||||
;;
|
||||
--- ncurses/configure 2024-03-15 17:43:30.098557323 +0800
|
||||
+++ ncurses/configure 2024-03-15 17:39:42.282556871 +0800
|
||||
@@ -16508,6 +16508,10 @@
|
||||
INSTALL_OPT_S=
|
||||
fi
|
||||
|
||||
+if test "${with_strip_program+set}" = set; then
|
||||
+ INSTALL_OPT_S="$INSTALL_OPT_S --strip-program=$with_strip_program"
|
||||
+fi
|
||||
+
|
||||
: "${INSTALL:=install}"
|
||||
echo "$as_me:16512: checking if install accepts -p option" >&5
|
||||
echo $ECHO_N "checking if install accepts -p option... $ECHO_C" >&6
|
||||
|
@ -15,6 +15,8 @@ Patch14: backport-0001-CVE-2023-29491-fix-configure-root-args-option.patch
|
||||
Patch15: backport-0002-CVE-2023-29491-env-access.patch
|
||||
Patch18: backport-CVE-2023-50495.patch
|
||||
Patch19: backport-CVE-2023-45918.patch
|
||||
# OHOS_LOCAL
|
||||
Patch99: cross_compile_support_ohos.patch
|
||||
|
||||
BuildRequires: gcc gcc-c++ gpm-devel pkgconfig
|
||||
|
||||
@ -250,6 +252,13 @@ xz NEWS
|
||||
%{_mandir}/man7/*
|
||||
|
||||
%changelog
|
||||
# OHOS_LOCAL begin
|
||||
* Fri Mar 15 2024 liujia178 <liujia178@huawei.com> - 6.3-oh-0
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:cross-compilation capability for OHOS system support.
|
||||
# OHOS_LOCAL end
|
||||
* Tue Jan 30 2024 yanglu <yanglu72@h-partners.com> - 6.3-10
|
||||
- Type:CVE
|
||||
- CVE:CVE-2023-45918
|
||||
|
Loading…
Reference in New Issue
Block a user