diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-28 22:57:18 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 15:56:51 +0700 |
commit | 3aea18a9ca77304f1ee4464f499b02bed9288d80 (patch) | |
tree | c6fbe6dae5264d6c50cac37a110c9008aff266f0 /system/sargon | |
parent | 50d4b76af83cc0e936cbca04a0e789075c3de857 (diff) |
system/sargon: Fix build with newer google-go-lang.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/sargon')
-rw-r--r-- | system/sargon/sargon.SlackBuild | 4 | ||||
-rw-r--r-- | system/sargon/sargon.info | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/system/sargon/sargon.SlackBuild b/system/sargon/sargon.SlackBuild index eae0f107edbb..2234b47f692b 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 diff --git a/system/sargon/sargon.info b/system/sargon/sargon.info index 9532b7a0a61c..adfcba10a999 100644 --- a/system/sargon/sargon.info +++ b/system/sargon/sargon.info @@ -1,8 +1,10 @@ PRGNAM="sargon" VERSION="1.0" HOMEPAGE="https://github.com/graygnuorg/sargon" -DOWNLOAD="https://github.com/graygnuorg/sargon/archive/v1.0/sargon-1.0.tar.gz" -MD5SUM="158b725c02b4bdf377d2b08790f2a770" +DOWNLOAD="https://github.com/graygnuorg/sargon/archive/v1.0/sargon-1.0.tar.gz \ + https://github.com/graygnuorg/sargon/commit/d6487688ab7ef2a9d47cb9f67cdedc0c498ff3d3.patch" +MD5SUM="158b725c02b4bdf377d2b08790f2a770 \ + 703a3e5ae6f79ccd579e74cf7151c39f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="google-go-lang" |