diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-03-20 21:02:43 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-03-20 21:02:43 +0000 |
commit | ca97bb4c7a45ea2cb09ddb2940b22999de00cf2c (patch) | |
tree | 62a38f7acef5bee3e45ae117e30811e9f100917f /Build/source/libs/poppler/TLpatches | |
parent | c995ec6667ba6395939751c761667897cb4323ad (diff) |
Add patch for windows
git-svn-id: svn://tug.org/texlive/trunk@47041 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/poppler/TLpatches')
-rw-r--r-- | Build/source/libs/poppler/TLpatches/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/libs/poppler/TLpatches/patch-05-w32 | 19 |
2 files changed, 23 insertions, 0 deletions
diff --git a/Build/source/libs/poppler/TLpatches/ChangeLog b/Build/source/libs/poppler/TLpatches/ChangeLog index 629722ebf90..0dc44506fc2 100644 --- a/Build/source/libs/poppler/TLpatches/ChangeLog +++ b/Build/source/libs/poppler/TLpatches/ChangeLog @@ -1,3 +1,7 @@ +2018-03-20 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * patch-05-w32: Added to compile gfile.cc on Windows. + 2018-03-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * Import poppler-0.63.0. diff --git a/Build/source/libs/poppler/TLpatches/patch-05-w32 b/Build/source/libs/poppler/TLpatches/patch-05-w32 new file mode 100644 index 00000000000..8c77eea5599 --- /dev/null +++ b/Build/source/libs/poppler/TLpatches/patch-05-w32 @@ -0,0 +1,19 @@ +diff -ur poppler-0.63.0/goo/gfile.cc poppler-src/goo/gfile.cc +--- poppler-0.63.0/goo/gfile.cc Mon Mar 19 03:23:49 2018 ++++ poppler-src/goo/gfile.cc Wed Mar 21 05:50:42 2018 +@@ -65,6 +65,7 @@ + #define PATH_MAX 1024 + #endif + ++#if !defined(_WIN32) + namespace { + + template< typename... > +@@ -99,6 +100,7 @@ + + } + ++#endif /* !_WIN32 */ + //------------------------------------------------------------------------ + + GooString *getCurrentDir() { |