summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repo/core/shadow.xibuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/repo/core/shadow.xibuild b/repo/core/shadow.xibuild
index 4904a80..6af5cbb 100644
--- a/repo/core/shadow.xibuild
+++ b/repo/core/shadow.xibuild
@@ -6,7 +6,11 @@ SOURCE=https://github.com/shadow-maint/shadow/releases/download/v4.10/shadow-4.1
DESC="Password and account management tool suite with support for shadow files and PAM"
build () {
- echo "building"
+
+ curl https://www.linuxfromscratch.org/patches/lfs/development/shadow-4.10-useradd_segfault-1.patch > shadow-4.10-useradd_segfault-1.patch
+ patch -Np1 -i shadow-4.10-useradd_segfault-1.patch
+
+
sed -i 's/groups$(EXEEXT) //' src/Makefile.in
find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;