diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2018-03-22 14:27:11 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2018-03-22 14:27:11 +0000 |
commit | 50cb85e1ce6911e85e1aa04346219992f6647015 (patch) | |
tree | ce3e686a4d0e68f9ed55892521cc467b8cbb661f /Build | |
parent | 44171779ed6ebf8188095f3fe1d13f0359aa4b42 (diff) |
patched gfile.h to compile under NetBSD (thanks to Marc Baudoin)
git-svn-id: svn://tug.org/texlive/trunk@47073 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/libs/poppler/TLpatches/patch-03-time | 12 | ||||
-rw-r--r-- | Build/source/libs/poppler/poppler-src/goo/gfile.h | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/libs/poppler/TLpatches/patch-03-time b/Build/source/libs/poppler/TLpatches/patch-03-time new file mode 100644 index 00000000000..2246093f695 --- /dev/null +++ b/Build/source/libs/poppler/TLpatches/patch-03-time @@ -0,0 +1,12 @@ +$ 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) + #elif defined(MACOS) + # include <ctime.h> ++#elif defined(__NetBSD__) ++#include <time.h> + #else + # include <unistd.h> + # include <sys/types.h> diff --git a/Build/source/libs/poppler/poppler-src/goo/gfile.h b/Build/source/libs/poppler/poppler-src/goo/gfile.h index 0741a92df96..b3117236eb7 100644 --- a/Build/source/libs/poppler/poppler-src/goo/gfile.h +++ b/Build/source/libs/poppler/poppler-src/goo/gfile.h @@ -51,6 +51,8 @@ extern "C" { #elif defined(ACORN) #elif defined(MACOS) # include <ctime.h> +#elif defined(__NetBSD__) +#include <time.h> #else # include <unistd.h> # include <sys/types.h> |