Blame texlive-20190410-dvisvgm-fix-libgs-detection.patch

35362e6
diff -up texlive-base-20190410/source/texk/dvisvgm/configure.ac.fix-libgs-detection texlive-base-20190410/source/texk/dvisvgm/configure.ac
35362e6
--- texlive-base-20190410/source/texk/dvisvgm/configure.ac.fix-libgs-detection	2019-03-10 14:21:29.000000000 -0400
35362e6
+++ texlive-base-20190410/source/texk/dvisvgm/configure.ac	2019-05-23 19:07:30.447057345 -0400
35362e6
@@ -66,7 +66,8 @@ AS_IF([test "x$have_libgs" = "xno"],
35362e6
 	# Ghostscript not found, check for dlopen
35362e6
 	[AC_CHECK_LIB(dl, dlopen,,
35362e6
 		[AC_DEFINE(DISABLE_GS, 1, [Set to 1 if PostScript support should be disabled])]
35362e6
-		[AC_MSG_WARN(PostScript support disabled)])])
35362e6
+		[AC_MSG_WARN(PostScript support disabled)])],
35362e6
+      [test "x$have_libgs" = "xyes"], [HAVE_LIBGS=1])
35362e6
 fi
35362e6
 
35362e6
 if test -z "$HAVE_LIBGS" || test "$HAVE_LIBGS" -eq 0; then
35362e6
diff -up texlive-base-20190410/source/texk/dvisvgm/configure.fix-libgs-detection texlive-base-20190410/source/texk/dvisvgm/configure
35362e6
--- texlive-base-20190410/source/texk/dvisvgm/configure.fix-libgs-detection	2019-05-23 19:07:45.568703333 -0400
35362e6
+++ texlive-base-20190410/source/texk/dvisvgm/configure	2019-05-23 19:09:31.341219687 -0400
35362e6
@@ -22013,6 +22013,8 @@ $as_echo "#define DISABLE_GS 1" >>confde
35362e6
 $as_echo "$as_me: WARNING: PostScript support disabled" >&2;}
35362e6
 fi
35362e6
 
35362e6
+elif test "x$have_libgs" = "xyes"; then :
35362e6
+  HAVE_LIBGS=1
35362e6
 fi
35362e6
 fi
35362e6