pkgsrc-Changes archive

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

CVS commit: pkgsrc/fonts/harfbuzz



Module Name:    pkgsrc
Committed By:   abs
Date:           Thu Feb 14 17:43:33 UTC 2019

Modified Files:
        pkgsrc/fonts/harfbuzz: distinfo
Added Files:
        pkgsrc/fonts/harfbuzz/patches: patch-src_hb-blob.cc

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


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/fonts/harfbuzz/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/fonts/harfbuzz/patches/patch-src_hb-blob.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/fonts/harfbuzz/distinfo
diff -u pkgsrc/fonts/harfbuzz/distinfo:1.85 pkgsrc/fonts/harfbuzz/distinfo:1.86
--- pkgsrc/fonts/harfbuzz/distinfo:1.85 Wed Feb 13 20:12:10 2019
+++ pkgsrc/fonts/harfbuzz/distinfo      Thu Feb 14 17:43:32 2019
@@ -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

Added files:

Index: pkgsrc/fonts/harfbuzz/patches/patch-src_hb-blob.cc
diff -u /dev/null pkgsrc/fonts/harfbuzz/patches/patch-src_hb-blob.cc:1.3
--- /dev/null   Thu Feb 14 17:43:33 2019
+++ pkgsrc/fonts/harfbuzz/patches/patch-src_hb-blob.cc  Thu Feb 14 17:43:32 2019
@@ -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