diff options
author | jperkin <jperkin@pkgsrc.org> | 2019-01-30 19:21:22 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2019-01-30 19:21:22 +0000 |
commit | ff45256cc665a4f68e4095ce7a846504d3fda318 (patch) | |
tree | d64b6488828dc8676466f8c7df47767ed07c844a /fonts | |
parent | 145108064e2f395a63e36e1610fbbbda35bb6426 (diff) | |
download | pkgsrc-ff45256cc665a4f68e4095ce7a846504d3fda318.tar.gz |
harfbuzz: Fix build on SunOS where int8_t is not explicitly "signed".
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/harfbuzz/distinfo | 3 | ||||
-rw-r--r-- | fonts/harfbuzz/patches/patch-src_hb-dsalgs.hh | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/fonts/harfbuzz/distinfo b/fonts/harfbuzz/distinfo index 1c7f441db57..6dbbed23c3f 100644 --- a/fonts/harfbuzz/distinfo +++ b/fonts/harfbuzz/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.83 2019/01/29 18:54:03 bsiegert Exp $ +$NetBSD: distinfo,v 1.84 2019/01/30 19:21:22 jperkin Exp $ SHA1 (harfbuzz-2.3.0.tar.bz2) = 68486b8902c5748c8cf0920e288f83fbf126a86c RMD160 (harfbuzz-2.3.0.tar.bz2) = c2a6c2a16cac38e150bd05c881de933fa33e1782 SHA512 (harfbuzz-2.3.0.tar.bz2) = 830c5b96384554fb6d2502713e9b2eff384dbe6aa3feb08830226944bcb07c8fb55237f389e1e6416d0942e3efba8b1ed54a49ff8c4762fec230f2404095e85a Size (harfbuzz-2.3.0.tar.bz2) = 17909479 bytes +SHA1 (patch-src_hb-dsalgs.hh) = f39a705dd8f12733be9edbc1ba12008723b56db0 SHA1 (patch-src_hb.hh) = bb56d18e9303d597e485c86b413e4cbc28aa7c70 diff --git a/fonts/harfbuzz/patches/patch-src_hb-dsalgs.hh b/fonts/harfbuzz/patches/patch-src_hb-dsalgs.hh new file mode 100644 index 00000000000..e190c5d88eb --- /dev/null +++ b/fonts/harfbuzz/patches/patch-src_hb-dsalgs.hh @@ -0,0 +1,16 @@ +$NetBSD: patch-src_hb-dsalgs.hh,v 1.1 2019/01/30 19:21:22 jperkin Exp $ + +Fix build on SunOS where int8_t is not explicitly "signed". + +--- src/hb-dsalgs.hh.orig 2018-12-20 03:27:58.000000000 +0000 ++++ src/hb-dsalgs.hh +@@ -297,6 +297,9 @@ hb_ceil_to_4 (unsigned int v) + } + + template <typename T> struct hb_is_signed; ++#if defined(__sun) && defined(_CHAR_IS_SIGNED) ++template <> struct hb_is_signed<int8_t> { enum { value = true }; }; ++#endif + template <> struct hb_is_signed<signed char> { enum { value = true }; }; + template <> struct hb_is_signed<signed short> { enum { value = true }; }; + template <> struct hb_is_signed<signed int> { enum { value = true }; }; |