view src/pstoedit-2-gs.patch @ 5650:6805ab42c8aa

Don't convert to short paths for default-octave target (bug #59923). * installer-files/octave-no-shortpath.patch, installer-files/octave-bat-no-shortpath.patch, installer-files/cmdshell-no-shortpath.patch: Add patches that remove conversion of path to short file names from scripts. * binary-dist-rules.mk: Apply new patches for default-octave target. * dist-files.mk: Add new files to build system.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 31 Jan 2021 18:38:38 +0100
parents 57dd959b3713
children
line wrap: on
line source

diff -ur pstoedit-3.75.1/configure.ac pstoedit-3.75/configure.ac
--- pstoedit-3.75.1/configure.ac	2020-01-06 12:54:05.031731787 -0500
+++ pstoedit-3.75/configure.ac	2020-01-06 12:55:08.329343414 -0500
@@ -50,8 +50,8 @@
 dnl fi
 
 dnl Check Ghostscript
-AC_CHECK_PROGS([GS],[gs],[false])
-AS_IF([test x"${GS}" = xfalse],[AC_MSG_ERROR([** Cannot find ghostscript.  If it is already installed, Check PATH.])])
+dnl AC_CHECK_PROGS([GS],[gs],[false])
+dnl AS_IF([test x"${GS}" = xfalse],[AC_MSG_ERROR([** Cannot find ghostscript.  If it is already installed, Check PATH.])])
 
 PKG_PROG_PKG_CONFIG
 
diff -ur pstoedit-3.75.1/src/Makefile.am pstoedit-3.75/src/Makefile.am
--- pstoedit-3.75.1/src/Makefile.am	2020-01-06 12:54:05.047732194 -0500
+++ pstoedit-3.75/src/Makefile.am	2020-01-06 12:56:08.370870430 -0500
@@ -32,7 +32,7 @@
 	${LIBEMF_CFLAGS}			\
 	${LIBPNG_CFLAGS}			\
 	${LIBZIP_CFLAGS}			\
-        -DDEFAULTGS=$(GS)			\
+	-DDEFAULTGS="\"$(GS)\""			\
 	-DPSTOEDITDATADIR="\"$(pkgdatadir)\""	\
 	-DPSTOEDITLIBDIR="\"$(pkglibdir)\""	\
         ${SPECIAL_CXXFLAGS}