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/afa16957f48d
branches:  trunk
changeset: 387667:afa16957f48d
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Nov 23 09:50:55 2018 +0000

description:
Do not play _POSIX_C_SOURCE games on NetBSD - causes issues with some pkgsrc gcc versions

Bump PKGREVISION

diffstat:

 fonts/harfbuzz/Makefile                |   3 ++-
 fonts/harfbuzz/distinfo                |   3 ++-
 fonts/harfbuzz/options.mk              |   4 ++--
 fonts/harfbuzz/patches/patch-src_hb.hh |  15 +++++++++++++++
 4 files changed, 21 insertions(+), 4 deletions(-)

diffs (56 lines):

diff -r 77a59d91f45f -r afa16957f48d fonts/harfbuzz/Makefile
--- a/fonts/harfbuzz/Makefile   Fri Nov 23 09:22:58 2018 +0000
+++ b/fonts/harfbuzz/Makefile   Fri Nov 23 09:50:55 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.101 2018/11/12 03:49:09 ryoon Exp $
+# $NetBSD: Makefile,v 1.102 2018/11/23 09:50:55 abs Exp $
 
 DISTNAME=      harfbuzz-2.1.1
+PKGREVISION=   1
 CATEGORIES=    fonts
 MASTER_SITES=  http://www.freedesktop.org/software/harfbuzz/release/
 EXTRACT_SUFX=  .tar.bz2
diff -r 77a59d91f45f -r afa16957f48d fonts/harfbuzz/distinfo
--- a/fonts/harfbuzz/distinfo   Fri Nov 23 09:22:58 2018 +0000
+++ b/fonts/harfbuzz/distinfo   Fri Nov 23 09:50:55 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.79 2018/11/12 03:49:09 ryoon Exp $
+$NetBSD: distinfo,v 1.80 2018/11/23 09:50:55 abs Exp $
 
 SHA1 (harfbuzz-2.1.1.tar.bz2) = 14178b5d53083ea38b420ab860d49189d438393f
 RMD160 (harfbuzz-2.1.1.tar.bz2) = 13937f4ff98d55169cb5a818cd045ed1b8b2789a
 SHA512 (harfbuzz-2.1.1.tar.bz2) = c3fc46eaeb8c02594e2430f853b6eebb762072638e3113e27ff9b5caefce2c06534e8056d57f35d87df6dbb1027cbc0c1a08f914dec7c6a715c3f0abc0a18933
 Size (harfbuzz-2.1.1.tar.bz2) = 4386396 bytes
+SHA1 (patch-src_hb.hh) = 368b8f553b8d9a77b8122e861249c5e4eb4d9223
diff -r 77a59d91f45f -r afa16957f48d fonts/harfbuzz/options.mk
--- a/fonts/harfbuzz/options.mk Fri Nov 23 09:22:58 2018 +0000
+++ b/fonts/harfbuzz/options.mk Fri Nov 23 09:50:55 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.3 2013/10/04 14:34:53 ryoon Exp $
+# $NetBSD: options.mk,v 1.4 2018/11/23 09:50:55 abs Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.harfbuzz
-PKG_SUPPORTED_OPTIONS+= icu
+PKG_SUPPORTED_OPTIONS+=        icu
 PKG_SUGGESTED_OPTIONS= icu
 
 .include "../../mk/bsd.options.mk"
diff -r 77a59d91f45f -r afa16957f48d fonts/harfbuzz/patches/patch-src_hb.hh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/patches/patch-src_hb.hh    Fri Nov 23 09:50:55 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_hb.hh,v 1.1 2018/11/23 09:50:55 abs Exp $
+
+Do not play _POSIX_C_SOURCE games on NetBSD - causes issues with some pkgsrc gcc versions
+
+--- src/hb.hh.orig     2018-11-04 01:41:46.000000000 +0000
++++ src/hb.hh
+@@ -35,7 +35,7 @@
+ #include "config.h"
+ #endif
+ 
+-#ifndef _POSIX_C_SOURCE
++#if !defined(_POSIX_C_SOURCE) && !defined(__NetBSD__)
+ #define _POSIX_C_SOURCE 200809L
+ #endif
+ 



Home | Main Index | Thread Index | Old Index