pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/poppler/patches poppler: add build fixes for NetBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e13a0485716b
branches:  trunk
changeset: 378867:e13a0485716b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Apr 17 05:20:55 2018 +0000

description:
poppler: add build fixes for NetBSD

diffstat:

 print/poppler/patches/patch-goo_gfile.h     |  15 +++++++++++++++
 print/poppler/patches/patch-poppler_CMap.cc |  15 +++++++++++++++
 2 files changed, 30 insertions(+), 0 deletions(-)

diffs (38 lines):

diff -r 9c0c75514be5 -r e13a0485716b print/poppler/patches/patch-goo_gfile.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler/patches/patch-goo_gfile.h   Tue Apr 17 05:20:55 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-goo_gfile.h,v 1.1 2018/04/17 05:20:55 wiz Exp $
+
+Include sys/time.h for struct timespec.
+https://bugs.freedesktop.org/show_bug.cgi?id=106091
+
+--- goo/gfile.h.orig   2018-03-18 18:23:49.000000000 +0000
++++ goo/gfile.h
+@@ -37,6 +37,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stddef.h>
++#include <sys/time.h>
+ extern "C" {
+ #if defined(_WIN32)
+ #  include <sys/stat.h>
diff -r 9c0c75514be5 -r e13a0485716b print/poppler/patches/patch-poppler_CMap.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler/patches/patch-poppler_CMap.cc       Tue Apr 17 05:20:55 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-poppler_CMap.cc,v 1.1 2018/04/17 05:20:55 wiz Exp $
+
+Include sys/time.h for struct timespec.
+https://bugs.freedesktop.org/show_bug.cgi?id=106091
+
+--- poppler/CMap.cc.orig       2018-03-18 18:23:49.000000000 +0000
++++ poppler/CMap.cc
+@@ -33,6 +33,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <ctype.h>
++#include <sys/time.h>
+ #include "goo/gmem.h"
+ #include "goo/gfile.h"
+ #include "goo/GooString.h"



Home | Main Index | Thread Index | Old Index