Projects
openEuler:24.03
llvm
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 17
View file
_service:tar_scm:llvm.spec
Changed
@@ -38,7 +38,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 10 +Release: 14 Summary: The Low Level Virtual Machine License: NCSA @@ -69,6 +69,7 @@ Patch18: 0018-Fix-declaration-definition-mismatch-for-classic-flang.patch Patch19: 0019-Backport-LoongArch-Improve-the-support-for-atomic-and-clear_cache.patch Patch20: 0020-Update-llvm-lit-config-to-support-build_for_openeule.patch +Patch21: 0021-Prevent-environment-variables-from-exceeding-NAME_MA.patch BuildRequires: binutils-devel BuildRequires: cmake @@ -121,6 +122,8 @@ Summary: Documentation for LLVM BuildArch: noarch Requires: %{name} = %{version}-%{release} +Provides: %{name}-help = %{version}-%{release} +Obsoletes: %{name}-help < %{version}-%{release} %description doc Documentation for the LLVM compiler infrastructure. @@ -292,7 +295,6 @@ %files %license LICENSE.TXT -%{install_prefix}/share/man/man1/* %{install_bindir}/* %exclude %{install_bindir}/not %exclude %{install_bindir}/count @@ -322,6 +324,7 @@ %files doc %license LICENSE.TXT %doc %{install_docdir}/html +%{install_prefix}/share/man/man1/* %files static %license LICENSE.TXT @@ -353,6 +356,18 @@ %{install_includedir}/llvm-gmock %changelog +* Wed Sep 11 2024 hongjinghao <hongjinghao@huawei.com> - 17.0.6-14 +- doc add Provides llvm-help + +* Tue Sep 10 2024 hongjinghao <hongjinghao@huawei.com> - 17.0.6-13 +- doc add Obsoletes llvm-help + +* Thu Sep 5 2024 hongjinghao <hongjinghao@huawei.com> - 17.0.6-12 +- mv man to doc subpackage + +* Mon Jul 22 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-11 +- Prevent environment variables from exceeding NAME_MAX. + * Mon Apr 29 2024 wangqiang <wangqiang1@kylinos.cn> - 17.0.6-10 - Update llvm-lit config to support macro `build_for_openeuler`
View file
_service:tar_scm:0021-Prevent-environment-variables-from-exceeding-NAME_MA.patch
Added
@@ -0,0 +1,28 @@ +From 4673c2eaba443678c4dc6ae74ea16a489b415fed Mon Sep 17 00:00:00 2001 +From: liyunfei <liyunfei33@huawei.com> +Date: Tue, 19 Sep 2023 09:31:43 +0800 +Subject: PATCH Prevent environment variables from exceeding NAME_MAX + +--- + llvm/lib/Support/Unix/Path.inc | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc +index 2ae7c6dc..f13f3165 100644 +--- a/llvm/lib/Support/Unix/Path.inc ++++ b/llvm/lib/Support/Unix/Path.inc +@@ -1427,8 +1427,12 @@ static const char *getEnvTempDir() { + // variable. + const char *EnvironmentVariables = {"TMPDIR", "TMP", "TEMP", "TEMPDIR"}; + for (const char *Env : EnvironmentVariables) { +- if (const char *Dir = std::getenv(Env)) ++ if (const char *Dir = std::getenv(Env)) { ++ if(std::strlen(Dir) > NAME_MAX) { ++ continue; ++ } + return Dir; ++ } + } + + return nullptr; +-- \ No newline at end of file
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2