pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/harfbuzz Do not play _POSIX_C_SOURCE games on Ne...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e891535f43b1
branches:  trunk
changeset: 391780:e891535f43b1
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Feb 14 17:43:32 2019 +0000

description:
Do not play _POSIX_C_SOURCE games on NetBSD - Avoids issues with building under pkgsrc gcc versions

diffstat:

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

diffs (33 lines):

diff -r a10d1fd50f03 -r e891535f43b1 fonts/harfbuzz/distinfo
--- a/fonts/harfbuzz/distinfo   Thu Feb 14 16:28:21 2019 +0000
+++ b/fonts/harfbuzz/distinfo   Thu Feb 14 17:43:32 2019 +0000
@@ -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 -r a10d1fd50f03 -r e891535f43b1 fonts/harfbuzz/patches/patch-src_hb-blob.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/patches/patch-src_hb-blob.cc       Thu Feb 14 17:43:32 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index