summaryrefslogtreecommitdiff
path: root/system/sargon/sargon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/sargon/sargon.SlackBuild')
-rw-r--r--system/sargon/sargon.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/sargon/sargon.SlackBuild b/system/sargon/sargon.SlackBuild
index eae0f107ed..2234b47f69 100644
--- a/system/sargon/sargon.SlackBuild
+++ b/system/sargon/sargon.SlackBuild
@@ -58,6 +58,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+patch -p1 -i $CWD/d6487688ab7ef2a9d47cb9f67cdedc0c498ff3d3.patch
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -71,7 +72,8 @@ if [ -x /etc/profile.d/go.sh ]; then
fi
# Build the project
-go mod init sargon
+go mod tidy
+go mod download
go build
# Create installation filesystem