view src/pstoedit-2-gs.patch @ 6213:5f64fb928091 release

build-gcc: Avoid library clash when calling msgfmt. * src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when calling `msgfmt`. * dist-files.mk: Add patch to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 06 May 2022 19:36:10 +0200
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}