texlive[47073] Build/source/libs/poppler: patched gfile.h to compile

commits+lscarso at tug.org commits+lscarso at tug.org
Thu Mar 22 15:27:14 CET 2018


Revision: 47073
          http://tug.org/svn/texlive?view=revision&revision=47073
Author:   lscarso
Date:     2018-03-22 15:27:11 +0100 (Thu, 22 Mar 2018)
Log Message:
-----------
patched gfile.h to compile under NetBSD (thanks to Marc Baudoin)

Modified Paths:
--------------
    trunk/Build/source/libs/poppler/poppler-src/goo/gfile.h

Added Paths:
-----------
    trunk/Build/source/libs/poppler/TLpatches/patch-03-time

Added: trunk/Build/source/libs/poppler/TLpatches/patch-03-time
===================================================================
--- trunk/Build/source/libs/poppler/TLpatches/patch-03-time	                        (rev 0)
+++ trunk/Build/source/libs/poppler/TLpatches/patch-03-time	2018-03-22 14:27:11 UTC (rev 47073)
@@ -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>

Modified: trunk/Build/source/libs/poppler/poppler-src/goo/gfile.h
===================================================================
--- trunk/Build/source/libs/poppler/poppler-src/goo/gfile.h	2018-03-22 10:17:56 UTC (rev 47072)
+++ trunk/Build/source/libs/poppler/poppler-src/goo/gfile.h	2018-03-22 14:27:11 UTC (rev 47073)
@@ -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>



More information about the tex-live-commits mailing list