From d8bdf6459e82436b78883e82d4cc5f61a14fc53e Mon Sep 17 00:00:00 2001 From: Luigi Scarso Date: Mon, 26 Mar 2018 09:45:17 +0000 Subject: better patch for __NetBSD__ (thanks to Marc Baudoin) git-svn-id: svn://tug.org/texlive/trunk@47129 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/libs/poppler/TLpatches/patch-03-time | 13 +++++++------ Build/source/libs/poppler/poppler-src/goo/gfile.h | 5 +++-- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'Build') diff --git a/Build/source/libs/poppler/TLpatches/patch-03-time b/Build/source/libs/poppler/TLpatches/patch-03-time index 2246093f695..1b9339d1a3d 100644 --- a/Build/source/libs/poppler/TLpatches/patch-03-time +++ b/Build/source/libs/poppler/TLpatches/patch-03-time @@ -1,12 +1,13 @@ $ diff -u gfile.h.orig gfile.h ---- gfile.h.orig 2018-03-22 15:08:01.913911597 +0100 -+++ gfile.h 2018-03-22 15:00:59.106829862 +0100 -@@ -51,6 +51,8 @@ - #elif defined(ACORN) +--- gfile.h.orig 2018-03-26 11:43:40.479917632 +0200 ++++ gfile.h 2018-03-26 11:41:51.965590455 +0200 +@@ -52,6 +52,9 @@ #elif defined(MACOS) # include -+#elif defined(__NetBSD__) -+#include #else ++# if defined(__NetBSD__) ++# include ++# endif # include # include + # if defined(VMS) diff --git a/Build/source/libs/poppler/poppler-src/goo/gfile.h b/Build/source/libs/poppler/poppler-src/goo/gfile.h index b3117236eb7..e02de720808 100644 --- a/Build/source/libs/poppler/poppler-src/goo/gfile.h +++ b/Build/source/libs/poppler/poppler-src/goo/gfile.h @@ -51,9 +51,10 @@ extern "C" { #elif defined(ACORN) #elif defined(MACOS) # include -#elif defined(__NetBSD__) -#include #else +# if defined(__NetBSD__) +# include +# endif # include # include # if defined(VMS) -- cgit v1.2.3