texlive[47041] Build/source/libs/poppler: Add patch for windows

commits+kakuto at tug.org commits+kakuto at tug.org
Tue Mar 20 22:02:43 CET 2018


Revision: 47041
          http://tug.org/svn/texlive?view=revision&revision=47041
Author:   kakuto
Date:     2018-03-20 22:02:43 +0100 (Tue, 20 Mar 2018)
Log Message:
-----------
Add patch for windows

Modified Paths:
--------------
    trunk/Build/source/libs/poppler/TLpatches/ChangeLog
    trunk/Build/source/libs/poppler/poppler-src/goo/gfile.cc

Added Paths:
-----------
    trunk/Build/source/libs/poppler/TLpatches/patch-05-w32

Modified: trunk/Build/source/libs/poppler/TLpatches/ChangeLog
===================================================================
--- trunk/Build/source/libs/poppler/TLpatches/ChangeLog	2018-03-20 10:12:53 UTC (rev 47040)
+++ trunk/Build/source/libs/poppler/TLpatches/ChangeLog	2018-03-20 21:02:43 UTC (rev 47041)
@@ -1,3 +1,7 @@
+2018-03-20  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
+
+	* patch-05-w32: Added to compile gfile.cc on Windows.
+
 2018-03-18  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	* Import poppler-0.63.0.

Added: trunk/Build/source/libs/poppler/TLpatches/patch-05-w32
===================================================================
--- trunk/Build/source/libs/poppler/TLpatches/patch-05-w32	                        (rev 0)
+++ trunk/Build/source/libs/poppler/TLpatches/patch-05-w32	2018-03-20 21:02:43 UTC (rev 47041)
@@ -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() {

Modified: trunk/Build/source/libs/poppler/poppler-src/goo/gfile.cc
===================================================================
--- trunk/Build/source/libs/poppler/poppler-src/goo/gfile.cc	2018-03-20 10:12:53 UTC (rev 47040)
+++ trunk/Build/source/libs/poppler/poppler-src/goo/gfile.cc	2018-03-20 21:02:43 UTC (rev 47041)
@@ -65,6 +65,7 @@
 #define PATH_MAX 1024
 #endif
 
+#if !defined(_WIN32)
 namespace {
 
 template< typename... >
@@ -99,6 +100,7 @@
 
 }
 
+#endif /* !_WIN32 */
 //------------------------------------------------------------------------
 
 GooString *getCurrentDir() {



More information about the tex-live-commits mailing list