Skip to content

Commit

Permalink
libsass: Fix build on SunOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperkin committed Jan 12, 2021
1 parent 4661eb2 commit 2d150ea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/libsass/distinfo
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.19 2020/05/07 09:19:16 adam Exp $
$NetBSD: distinfo,v 1.20 2021/01/12 13:06:11 jperkin Exp $

SHA1 (libsass-3.6.4.tar.gz) = b980a49fe499ee9fd193581912382735ffbf4065
RMD160 (libsass-3.6.4.tar.gz) = e139145a65f789a98c3f8624951b6c0ff91fe18f
SHA512 (libsass-3.6.4.tar.gz) = 1f79553be31949d45adf440dcbcf4b828a7e4f71c6f63f288f99451fccc490ebf0c68c58d91deabede37962e35a8cf9af8b0d60d89349fd0adea1ac061c8c2c8
Size (libsass-3.6.4.tar.gz) = 338519 bytes
SHA1 (patch-src_sass.hpp) = 0c003be73e3891f9a24866a099e1dfec1065c6cb
SHA1 (patch-src_units.hpp) = 7d00a300e65b3e0dd042c8d8661ce3f30ebad4b0
15 changes: 15 additions & 0 deletions www/libsass/patches/patch-src_sass.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$NetBSD: patch-src_sass.hpp,v 1.1 2021/01/12 13:06:11 jperkin Exp $

Undefining __EXTENSIONS__ breaks headers, do not do that.

--- src/sass.hpp.orig 2020-05-01 11:17:16.000000000 +0000
+++ src/sass.hpp
@@ -5,7 +5,7 @@
// undefine extensions macro to tell sys includes
// that we do not want any macros to be exported
// mainly fixes an issue on SmartOS (SEC macro)
-#undef __EXTENSIONS__
+//#undef __EXTENSIONS__

#ifdef _MSC_VER
#pragma warning(disable : 4005)

0 comments on commit 2d150ea

Please sign in to comment.