summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2019-02-14 17:43:32 +0000
committerabs <abs@pkgsrc.org>2019-02-14 17:43:32 +0000
commite0955a2c8f3a8ef9618a46276a14df87effcc1e3 (patch)
tree4eb81b99c3d5d19ba45877078e3590bb66e3f5dd /fonts
parentbe7c8c482d0fa466a87f1b94d73c9302794bd532 (diff)
downloadpkgsrc-e0955a2c8f3a8ef9618a46276a14df87effcc1e3.tar.gz
Do not play _POSIX_C_SOURCE games on NetBSD - Avoids issues with building under pkgsrc gcc versions
Diffstat (limited to 'fonts')
-rw-r--r--fonts/harfbuzz/distinfo3
-rw-r--r--fonts/harfbuzz/patches/patch-src_hb-blob.cc16
2 files changed, 18 insertions, 1 deletions
diff --git a/fonts/harfbuzz/distinfo b/fonts/harfbuzz/distinfo
index 6dada94b8ef..df516067610 100644
--- a/fonts/harfbuzz/distinfo
+++ b/fonts/harfbuzz/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.85 2019/02/13 20:12:10 wiz Exp $
+$NetBSD: distinfo,v 1.86 2019/02/14 17:43:32 abs Exp $
SHA1 (harfbuzz-2.3.1.tar.bz2) = eb8d4257ea3b533fcc7a9207a92cd018108a2fdf
RMD160 (harfbuzz-2.3.1.tar.bz2) = 6c2500882f1f67635e59908efb1f2264e2c00aaa
SHA512 (harfbuzz-2.3.1.tar.bz2) = 78a8f05bfcc95cfe3fc0f1a595bdc7298c9c1456db6c7ef70914051fda43f37aaff15eac75aa6922eca82d2291baeb8385e02e6aacb44ca05b4873c311a662ac
Size (harfbuzz-2.3.1.tar.bz2) = 17942960 bytes
+SHA1 (patch-src_hb-blob.cc) = 54fdce34a93bb9fd85a82cf61f3a09e2e34813b3
SHA1 (patch-src_hb-dsalgs.hh) = f39a705dd8f12733be9edbc1ba12008723b56db0
diff --git a/fonts/harfbuzz/patches/patch-src_hb-blob.cc b/fonts/harfbuzz/patches/patch-src_hb-blob.cc
new file mode 100644
index 00000000000..bb5916f95b9
--- /dev/null
+++ b/fonts/harfbuzz/patches/patch-src_hb-blob.cc
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_hb-blob.cc,v 1.3 2019/02/14 17:43:32 abs Exp $
+
+Do not play _POSIX_C_SOURCE games on NetBSD.
+Avoids issues with building under pkgsrc gcc versions
+
+--- src/hb-blob.cc.orig 2019-01-29 21:39:07.000000000 +0000
++++ src/hb-blob.cc
+@@ -30,7 +30,7 @@
+ * http://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
+ * https://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html
+ */
+-#ifndef _POSIX_C_SOURCE
++#if !defined (_POSIX_C_SOURCE) && !defined (__NetBSD__)
+ #pragma GCC diagnostic push
+ #pragma GCC diagnostic ignored "-Wunused-macros"
+ #define _POSIX_C_SOURCE 200809L