pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/harfbuzz harfbuzz: Fix build on SunOS where int8...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e40032782e81
branches:  trunk
changeset: 318866:e40032782e81
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 30 19:21:22 2019 +0000

description:
harfbuzz: Fix build on SunOS where int8_t is not explicitly "signed".

diffstat:

 fonts/harfbuzz/distinfo                       |   3 ++-
 fonts/harfbuzz/patches/patch-src_hb-dsalgs.hh |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 6e238352f5db -r e40032782e81 fonts/harfbuzz/distinfo
--- a/fonts/harfbuzz/distinfo   Wed Jan 30 17:57:26 2019 +0000
+++ b/fonts/harfbuzz/distinfo   Wed Jan 30 19:21:22 2019 +0000
@@ -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 -r 6e238352f5db -r e40032782e81 fonts/harfbuzz/patches/patch-src_hb-dsalgs.hh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/patches/patch-src_hb-dsalgs.hh     Wed Jan 30 19:21:22 2019 +0000
@@ -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 }; };



Home | Main Index | Thread Index | Old Index