pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/libsass libsass: Fix build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a657f89687b
branches:  trunk
changeset: 444773:1a657f89687b
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jan 12 13:06:11 2021 +0000

description:
libsass: Fix build on SunOS.

diffstat:

 www/libsass/distinfo                   |   3 ++-
 www/libsass/patches/patch-src_sass.hpp |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 20e242f239fc -r 1a657f89687b www/libsass/distinfo
--- a/www/libsass/distinfo      Tue Jan 12 12:57:59 2021 +0000
+++ b/www/libsass/distinfo      Tue Jan 12 13:06:11 2021 +0000
@@ -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
diff -r 20e242f239fc -r 1a657f89687b www/libsass/patches/patch-src_sass.hpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libsass/patches/patch-src_sass.hpp    Tue Jan 12 13:06:11 2021 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index