package/fakeroot: fix glibc detection on patch for new wrappers
authorRyan Barnett <ryanbarnett3@gmail.com>
Sun, 21 Feb 2021 22:38:27 +0000 (16:38 -0600)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 21 Feb 2021 22:55:38 +0000 (23:55 +0100)
commite41b170b328cc086334948ff3b8038075e2c09ce
tree9c59c5dbffbece77ab2833fa080b8162954fcaa4
parent048f7723543a8d6b8f24942c0e6eab7e2a3c87ce
package/fakeroot: fix glibc detection on patch for new wrappers

Commit f45925a951318e9e53bead80b363e004301adc6f add the patch:

0003-libfakeroot.c-add-wrappers-for-new-glibc-2.33-symbol.patch

which allowed fakeroot to be compiled with GLIBC 2.33 or above.
However, this introduce a bug for building with a non-GLIBC based
toolchain as a GLIBC macro - __GLIBC_PREREQ - is used on the same line
as the detection of GLIBC.

Fix this by backporting the fix to this incorrect macro from upstream
commit:

https://salsa.debian.org/clint/fakeroot/-/commit/8090dffdad8fda86dccd47ce7a7db8840bdf7d7b

CC: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/fakeroot/0005-fix-build-regression-on-macOS.patch [new file with mode: 0644]