diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2020-12-30 16:48:52 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-02 10:48:32 +0700 |
commit | e7bff4f95c3081df81180d52e2a67edb094fb002 (patch) | |
tree | 963a53edd36ab1e4fed2f6a637442c9477f8dea6 | |
parent | 7d08e724a322afa8edc35800812254392188bb2d (diff) | |
download | slackbuilds-e7bff4f95c3081df81180d52e2a67edb094fb002.tar.gz |
system/unison: Updated for version 2.51.3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/unison/old_ocaml.diff.gz | bin | 0 -> 393 bytes | |||
-rw-r--r-- | system/unison/unison.SlackBuild | 9 | ||||
-rw-r--r-- | system/unison/unison.info | 6 |
3 files changed, 10 insertions, 5 deletions
diff --git a/system/unison/old_ocaml.diff.gz b/system/unison/old_ocaml.diff.gz Binary files differnew file mode 100644 index 0000000000..9fd8b1b527 --- /dev/null +++ b/system/unison/old_ocaml.diff.gz diff --git a/system/unison/unison.SlackBuild b/system/unison/unison.SlackBuild index 6d43f2fab0..3e82e4a68b 100644 --- a/system/unison/unison.SlackBuild +++ b/system/unison/unison.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for unison # Copyright 2007-2011 Ferenc Deak <ferenc.deak@gmail.com> -# Copyright 2018 Andrew Clemons, Wellington New Zealand +# Copyright 2018,2020 Andrew Clemons, Wellington New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=unison -VERSION=${VERSION:-2.51.2} +VERSION=${VERSION:-2.51.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,6 +63,11 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION + +if [ "$(ocamlc --version | cut -d. -f1)" = "4" ] && [ "$(ocamlc --version | cut -d. -f2)" = "03" ] ; then + zcat $CWD/old_ocaml.diff.gz | patch -p1 +fi + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/system/unison/unison.info b/system/unison/unison.info index f10eaf5a3d..3db7c7da02 100644 --- a/system/unison/unison.info +++ b/system/unison/unison.info @@ -1,8 +1,8 @@ PRGNAM="unison" -VERSION="2.51.2" +VERSION="2.51.3" HOMEPAGE="https://www.cis.upenn.edu/~bcpierce/unison/" -DOWNLOAD="https://github.com/bcpierce00/unison/archive/v2.51.2/unison-2.51.2.tar.gz" -MD5SUM="11991eddcf6fdd8b50041eefe44bad61" +DOWNLOAD="https://github.com/bcpierce00/unison/archive/v2.51.3/unison-2.51.3.tar.gz" +MD5SUM="015533d6f89b47d8862c0e56350d1b0a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lablgtk" |