summaryrefslogtreecommitdiffstats
path: root/smgl
diff options
context:
space:
mode:
authorTreeve Jelbert2021-03-08 08:40:25 +0100
committerTreeve Jelbert2021-03-08 08:40:25 +0100
commit8c95745f143e87bf5c6b684d16192bf42798a2ca (patch)
tree9008253373410246b2694fcc516ecc67f0adb99a /smgl
parentf8181498c5d4b2ea123effdb23068adba604ee72 (diff)
fakeroot - fix build with glibc-2.33
Diffstat (limited to 'smgl')
-rwxr-xr-xsmgl/fakeroot/BUILD3
-rw-r--r--smgl/fakeroot/HISTORY3
2 files changed, 6 insertions, 0 deletions
diff --git a/smgl/fakeroot/BUILD b/smgl/fakeroot/BUILD
index 7b666a76dd..3ba091a183 100755
--- a/smgl/fakeroot/BUILD
+++ b/smgl/fakeroot/BUILD
@@ -1,4 +1,7 @@
case "$HOST" in *-musl)
CFLAGS+=" -D_STAT_VER=0" ;;
esac &&
+if spell_ok glibc && installed_version glibc >= 2.33;then
+ CFLAGS+=" -D_STAT_VER=0"
+fi &&
default_build
diff --git a/smgl/fakeroot/HISTORY b/smgl/fakeroot/HISTORY
index 3e360e4ca6..3f49c99e86 100644
--- a/smgl/fakeroot/HISTORY
+++ b/smgl/fakeroot/HISTORY
@@ -1,3 +1,6 @@
+2021-03-08 Treeve Jelbert <treeve@sourcemage.org>
+ * BUILD: fix for glibc-2.33
+
2019-06-09 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 1.23
* BUILD: Fixed build against musl