summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author Yth - Arnaud2019-06-22 15:02:43 +0200
committer Willy Sudiarto Raharjo2019-06-22 15:20:48 +0200
commitba5eda2ff1850d4ab3983f297c5ee200e1fb644a (patch)
treeccc9b69f0ba18ffed15dc2852f50be25fe0f90aa /libraries
parent79433568fee077f4f0dd47a1ce50eeaa3eb87556 (diff)
downloadslackbuilds-ba5eda2ff1850d4ab3983f297c5ee200e1fb644a.tar.gz
libraries/libsass: Updated for version 3.6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libsass/libsass.SlackBuild4
-rw-r--r--libraries/libsass/libsass.info6
-rw-r--r--libraries/libsass/patch.diff10
3 files changed, 16 insertions, 4 deletions
diff --git a/libraries/libsass/libsass.SlackBuild b/libraries/libsass/libsass.SlackBuild
index dce088b128..3eab72e09f 100644
--- a/libraries/libsass/libsass.SlackBuild
+++ b/libraries/libsass/libsass.SlackBuild
@@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libsass
-VERSION=${VERSION:-3.5.5}
+VERSION=${VERSION:-3.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p0 < $CWD/patch.diff
+
autoreconf -i
CFLAGS="$SLKCFLAGS" \
diff --git a/libraries/libsass/libsass.info b/libraries/libsass/libsass.info
index 03478fae39..cf6b1f7a1a 100644
--- a/libraries/libsass/libsass.info
+++ b/libraries/libsass/libsass.info
@@ -1,8 +1,8 @@
PRGNAM="libsass"
-VERSION="3.5.5"
+VERSION="3.6.1"
HOMEPAGE="http://sass-lang.com/libsass"
-DOWNLOAD="https://github.com/sass/libsass/archive/3.5.5/libsass-3.5.5.tar.gz"
-MD5SUM="3685f6f58282e06d82f3171063797a90"
+DOWNLOAD="https://github.com/sass/libsass/archive/3.6.1/libsass-3.6.1.tar.gz"
+MD5SUM="8b0aee63fd535cf6f40b254a6f453d24"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libsass/patch.diff b/libraries/libsass/patch.diff
new file mode 100644
index 0000000000..4bf23a28fc
--- /dev/null
+++ b/libraries/libsass/patch.diff
@@ -0,0 +1,10 @@
+--- src/util.hpp~ 2019-06-17 20:37:00.385205973 +0200
++++ src/util.hpp 2019-06-17 20:35:28.356211305 +0200
+@@ -13,6 +13,7 @@
+ #include <string>
+ #include <assert.h>
+ #include <math.h>
++#include <cmath>
+
+ #define SASS_ASSERT(cond, msg) assert(cond && msg)
+