202 |
BuildRequires: rpm-mageia-setup-build >= 1.147 |
BuildRequires: rpm-mageia-setup-build >= 1.147 |
203 |
BuildRequires: spec-helper >= 0.31.2 |
BuildRequires: spec-helper >= 0.31.2 |
204 |
|
|
205 |
|
### upstream release/2.29/master branch |
206 |
|
### git format-patch --start-number 200 glibc-2.29..origin/release/2.29/master |
207 |
|
### |
208 |
|
Patch200: 0200-nptl-Fix-pthread_rwlock_try-lock-stalls-Bug-23844.patch |
209 |
|
Patch201: 0201-x86-64-memcmp-Use-unsigned-Jcc-instructions-on-size-.patch |
210 |
|
Patch202: 0202-arm-Use-nr-constraint-for-Systemtap-probes-BZ-24164.patch |
211 |
|
Patch203: 0203-Add-compiler-barriers-around-modifications-of-the-ro.patch |
212 |
|
Patch204: 0204-nptl-Avoid-fork-handler-lock-for-async-signal-safe-f.patch |
213 |
|
Patch205: 0205-nptl-Fix-invalid-Systemtap-probe-in-pthread_join-BZ-.patch |
214 |
|
Patch206: 0206-Fix-output-of-LD_SHOW_AUXV-1.patch |
215 |
|
Patch207: 0207-regex-fix-read-overrun-BZ-24114.patch |
216 |
|
Patch208: 0208-Record-CVE-2019-9169-in-NEWS-and-ChangeLog-BZ-24114.patch |
217 |
|
|
218 |
|
### |
219 |
|
### upstream master branch |
220 |
|
### |
221 |
|
|
222 |
|
|
223 |
|
### |
224 |
|
### Mageia patches |
225 |
|
### |
226 |
|
|
227 |
# make "localedef --add-to-archive" to follow symlink |
# make "localedef --add-to-archive" to follow symlink |
228 |
# safe to send ustream, need to be kept for locales |
# safe to send ustream, need to be kept for locales |
229 |
Patch00: glibc-2.17-localedef-archive-follow-symlinks.patch |
Patch00: glibc-2.17-localedef-archive-follow-symlinks.patch |
278 |
# should be sent upstream |
# should be sent upstream |
279 |
Patch44: glibc-2.26-dont-tie-libcap-with-selinux.patch |
Patch44: glibc-2.26-dont-tie-libcap-with-selinux.patch |
280 |
|
|
|
# upstream release/2.29/master branch |
|
|
# git format-patch --start-number 200 glibc-2.29..origin/release/2.29/master |
|
|
Patch200: 0200-nptl-Fix-pthread_rwlock_try-lock-stalls-Bug-23844.patch |
|
|
Patch201: 0201-x86-64-memcmp-Use-unsigned-Jcc-instructions-on-size-.patch |
|
|
Patch202: 0202-arm-Use-nr-constraint-for-Systemtap-probes-BZ-24164.patch |
|
|
Patch203: 0203-Add-compiler-barriers-around-modifications-of-the-ro.patch |
|
|
Patch204: 0204-nptl-Avoid-fork-handler-lock-for-async-signal-safe-f.patch |
|
|
Patch205: 0205-nptl-Fix-invalid-Systemtap-probe-in-pthread_join-BZ-.patch |
|
|
Patch206: 0206-Fix-output-of-LD_SHOW_AUXV-1.patch |
|
|
Patch207: 0207-regex-fix-read-overrun-BZ-24114.patch |
|
|
Patch208: 0208-Record-CVE-2019-9169-in-NEWS-and-ChangeLog-BZ-24114.patch |
|
|
|
|
|
# upstream master branch |
|
281 |
|
|
282 |
# Determine minium kernel versions |
# Determine minium kernel versions |
283 |
%define enablekernel 3.2 |
%define enablekernel 3.2 |
481 |
|
|
482 |
%prep |
%prep |
483 |
%setup -q -n %{source_dir} |
%setup -q -n %{source_dir} |
484 |
|
%autopatch -p1 |
|
# upstream 2.29 branch |
|
|
%patch200 -p1 |
|
|
%patch201 -p1 |
|
|
%patch202 -p1 |
|
|
%patch203 -p1 |
|
|
%patch204 -p1 |
|
|
%patch205 -p1 |
|
|
%patch206 -p1 |
|
|
%patch207 -p1 |
|
|
%patch208 -p1 |
|
|
|
|
|
# upstream master branch |
|
|
|
|
|
# other patches |
|
|
%patch00 -p1 -b .localedef-archive-follow-symlinks |
|
|
%patch01 -p1 -b .fhs |
|
|
%patch04 -p1 -b .nss-upgrade |
|
|
%patch06 -p1 -b .share-locale |
|
|
%patch09 -p1 -b .xterm-xvt |
|
|
%patch11 -p1 -b .compat-EUR-currencies |
|
|
%patch13 -p1 -b .nscd-enable |
|
|
%patch14 -p1 -b .nscd-no-host-cache |
|
|
%patch23 -p1 -b .timezone |
|
|
%patch24 -p1 -b .biarch-cpp-defines |
|
|
%patch27 -p1 -b .ENOTTY-fr-translation |
|
|
%patch29 -p1 -b .biarch-utils |
|
|
%patch30 -p1 -b .multiarch-check |
|
|
%patch35 -p1 -b .zh_CN-charset-fixes |
|
|
%patch38 -p1 -b .testsuite-rt-notparallel |
|
|
%patch44 -p1 -b .dont-tie-libcap-with-selinux |
|
|
|
|
|
# add C.UTF8 |
|
|
%patch59 -p1 |
|
485 |
|
|
486 |
%if %{build_selinux} |
%if %{build_selinux} |
487 |
# XXX kludge to build nscd with selinux support as it added -nostdinc |
# XXX kludge to build nscd with selinux support as it added -nostdinc |