texlive[57301] Build/source/utils/asymptote/parser.cc: patch to avoid

commits+karl at tug.org commits+karl at tug.org
Sat Jan 2 23:23:23 CET 2021


Revision: 57301
          http://tug.org/svn/texlive?view=revision&revision=57301
Author:   karl
Date:     2021-01-02 23:23:23 +0100 (Sat, 02 Jan 2021)
Log Message:
-----------
patch to avoid requiring libcurl

Modified Paths:
--------------
    trunk/Build/source/utils/asymptote/parser.cc

Modified: trunk/Build/source/utils/asymptote/parser.cc
===================================================================
--- trunk/Build/source/utils/asymptote/parser.cc	2021-01-02 22:20:07 UTC (rev 57300)
+++ trunk/Build/source/utils/asymptote/parser.cc	2021-01-02 22:23:23 UTC (rev 57301)
@@ -111,8 +111,10 @@
 absyntax::file *parseFile(const string& filename,
                           const char *nameOfAction)
 {
+#ifdef HAVE_LIBCURL
   if(isURL(filename))
     return parseURL(filename,nameOfAction);
+#endif
 
   if(filename == "-")
     return parseStdin();



More information about the tex-live-commits mailing list.