pkgsrc/www/libsass/patches/patch-src_units.hpp
adam a5061116c0 libsass: updated to 3.4.9
3.4.9:
Fix math with multiple units
Make error indicator Unicode aware
Make sourcemaps fully Unicode aware
Fix parser state column following static values
Fix memory leak of custom functions signature
Adding the missing scope identifier std::
Fix fall-trough warning in latest gnu gcc
Tweak warning message format
Fix msvc compiler warning
2018-02-26 08:09:27 +00:00

17 lines
330 B
C++

$NetBSD: patch-src_units.hpp,v 1.2 2018/02/26 08:09:27 adam Exp $
Avoid macro conflict on SunOS.
--- src/units.hpp.orig 2018-02-05 23:14:08.000000000 +0000
+++ src/units.hpp
@@ -6,6 +6,10 @@
#include <sstream>
#include <vector>
+#if defined(SEC)
+#undef SEC
+#endif
+
namespace Sass {
const double PI = std::acos(-1);