Revert previous commit and un-bump %release
The original patch to use nullptr was fine, because it's in a .cpp file which is built using a recent standard dialect, so nullptr is defined.
This commit is contained in:
parent
394a768911
commit
aa5af673c5
@ -28,7 +28,7 @@ index 7f1ea6a..dc59e8c 100644
|
||||
tmp.resize(str.length());
|
||||
icu::Collator *collate = get_collator(level);
|
||||
- int len = collate->getSortKey(str,&tmp[0],tmp.size());
|
||||
+ int len = collate->getSortKey(str,tmp.empty()?NULL:&tmp[0],tmp.size());
|
||||
+ int len = collate->getSortKey(str,tmp.empty()?nullptr:&tmp[0],tmp.size());
|
||||
if(len > int(tmp.size())) {
|
||||
tmp.resize(len);
|
||||
collate->getSortKey(str,&tmp[0],tmp.size());
|
||||
|
@ -42,7 +42,7 @@ Name: boost
|
||||
%global real_name boost
|
||||
Summary: The free peer-reviewed portable C++ source libraries
|
||||
Version: 1.75.0
|
||||
Release: 4%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: Boost and MIT and Python
|
||||
|
||||
# Replace each . with _ in %%{version}
|
||||
@ -1278,9 +1278,6 @@ fi
|
||||
%{_mandir}/man1/b2.1*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 03 2021 Jonathan Wakely <jwakely@redhat.com> - 1.75.0-4
|
||||
- Adjust Boost.Locale patch to use NULL instead of nullptr
|
||||
|
||||
* Tue Feb 02 2021 Thomas Rodgers <trodgers@redhat.com> - 1.75.0-3
|
||||
- Patch Boost.Build to find boost-build.jam (#1923740)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user