summaryrefslogtreecommitdiffstats
path: root/smgl
diff options
context:
space:
mode:
authorIsmael Luceno2019-06-09 13:34:17 +0200
committerIsmael Luceno2019-06-09 13:34:17 +0200
commit35cc7776f6d2ee92ea83864aca9439f737edb241 (patch)
tree88782c7237251828ad0a77d5dda6100d739b7781 /smgl
parent5aac650b087bc1f439869ebb9282b1225ab40009 (diff)
fakeroot: Fix build against musl
Diffstat (limited to 'smgl')
-rwxr-xr-xsmgl/fakeroot/BUILD4
-rw-r--r--smgl/fakeroot/HISTORY1
2 files changed, 5 insertions, 0 deletions
diff --git a/smgl/fakeroot/BUILD b/smgl/fakeroot/BUILD
new file mode 100755
index 0000000000..7b666a76dd
--- /dev/null
+++ b/smgl/fakeroot/BUILD
@@ -0,0 +1,4 @@
+case "$HOST" in *-musl)
+ CFLAGS+=" -D_STAT_VER=0" ;;
+esac &&
+default_build
diff --git a/smgl/fakeroot/HISTORY b/smgl/fakeroot/HISTORY
index 9ecfc4e947..3e360e4ca6 100644
--- a/smgl/fakeroot/HISTORY
+++ b/smgl/fakeroot/HISTORY
@@ -1,5 +1,6 @@
2019-06-09 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 1.23
+ * BUILD: Fixed build against musl
2017-10-08 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 1.22