pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/libsass libsass: Seems to fail with gcc7 unless cm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15baede5ad01
branches:  trunk
changeset: 398075:15baede5ad01
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jul 09 20:31:33 2019 +0000

description:
libsass: Seems to fail with gcc7 unless cmath is included

diffstat:

 www/libsass/Makefile                   |   3 ++-
 www/libsass/distinfo                   |   3 ++-
 www/libsass/patches/patch-src_util.hpp |  19 +++++++++++++++++++
 3 files changed, 23 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r fa489f8fea14 -r 15baede5ad01 www/libsass/Makefile
--- a/www/libsass/Makefile      Tue Jul 09 20:23:07 2019 +0000
+++ b/www/libsass/Makefile      Tue Jul 09 20:31:33 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2019/06/17 19:45:08 adam Exp $
+# $NetBSD: Makefile,v 1.15 2019/07/09 20:31:33 nia Exp $
 
 DISTNAME=      libsass-3.6.1
+PKGREVISION=   1
 CATEGORIES=    www devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=sass/}
 
diff -r fa489f8fea14 -r 15baede5ad01 www/libsass/distinfo
--- a/www/libsass/distinfo      Tue Jul 09 20:23:07 2019 +0000
+++ b/www/libsass/distinfo      Tue Jul 09 20:31:33 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.15 2019/06/17 19:45:08 adam Exp $
+$NetBSD: distinfo,v 1.16 2019/07/09 20:31:33 nia Exp $
 
 SHA1 (libsass-3.6.1.tar.gz) = 7a34c57009abb443841067478de01f7016c88a17
 RMD160 (libsass-3.6.1.tar.gz) = 6dd678988f20b96cac8ff907e10b6ac181a70729
 SHA512 (libsass-3.6.1.tar.gz) = e9a3a30851e26145d049c4b20951c663a9d48c781a732acd3cc2cdb30df3449e445b57211f666b58afa137431fbdb149add48ff8a0dec92bd8abb514c90adebb
 Size (libsass-3.6.1.tar.gz) = 333609 bytes
 SHA1 (patch-src_units.hpp) = 7d00a300e65b3e0dd042c8d8661ce3f30ebad4b0
+SHA1 (patch-src_util.hpp) = 4883bb3aba2e1984f909d192a5e7120038cafd25
diff -r fa489f8fea14 -r 15baede5ad01 www/libsass/patches/patch-src_util.hpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libsass/patches/patch-src_util.hpp    Tue Jul 09 20:31:33 2019 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_util.hpp,v 1.1 2019/07/09 20:31:33 nia Exp $
+
+Include cmath for std::fmod, etc
+
+--- src/util.hpp.orig  2019-06-15 15:05:08.000000000 +0000
++++ src/util.hpp
+@@ -8,11 +8,11 @@
+ #include "sass/base.h"
+ #include "ast_fwd_decl.hpp"
+ 
++#include <cmath>
+ #include <cstring>
+ #include <vector>
+ #include <string>
+ #include <assert.h>
+-#include <math.h>
+ 
+ #define SASS_ASSERT(cond, msg) assert(cond && msg)
+ 



Home | Main Index | Thread Index | Old Index