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

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