pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/libsass



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jul  9 20:31:33 UTC 2019

Modified Files:
        pkgsrc/www/libsass: Makefile distinfo
Added Files:
        pkgsrc/www/libsass/patches: patch-src_util.hpp

Log Message:
libsass: Seems to fail with gcc7 unless cmath is included


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/www/libsass/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/libsass/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/libsass/patches/patch-src_util.hpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/libsass/Makefile
diff -u pkgsrc/www/libsass/Makefile:1.14 pkgsrc/www/libsass/Makefile:1.15
--- pkgsrc/www/libsass/Makefile:1.14    Mon Jun 17 19:45:08 2019
+++ pkgsrc/www/libsass/Makefile Tue Jul  9 20:31:33 2019
@@ -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/}
 

Index: pkgsrc/www/libsass/distinfo
diff -u pkgsrc/www/libsass/distinfo:1.15 pkgsrc/www/libsass/distinfo:1.16
--- pkgsrc/www/libsass/distinfo:1.15    Mon Jun 17 19:45:08 2019
+++ pkgsrc/www/libsass/distinfo Tue Jul  9 20:31:33 2019
@@ -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

Added files:

Index: pkgsrc/www/libsass/patches/patch-src_util.hpp
diff -u /dev/null pkgsrc/www/libsass/patches/patch-src_util.hpp:1.1
--- /dev/null   Tue Jul  9 20:31:33 2019
+++ pkgsrc/www/libsass/patches/patch-src_util.hpp       Tue Jul  9 20:31:33 2019
@@ -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