graphviz: fix compilation error when ps2pdf is not installed
This commit is contained in:
parent
8269971ba0
commit
1d7c899c88
18
packages/graphviz/configure.ac.patch
Normal file
18
packages/graphviz/configure.ac.patch
Normal file
@ -0,0 +1,18 @@
|
||||
We don't have ps2pdf (ghostscript) in the docker image, and defaulting to false gives an error
|
||||
--- ../configure.ac.orig 2020-07-21 20:56:45.916983567 +0000
|
||||
+++ ./configure.ac 2020-07-21 20:58:06.050817612 +0000
|
||||
@@ -282,10 +282,10 @@
|
||||
AC_CHECK_PROGS(SED,gsed sed,false)
|
||||
AC_CHECK_PROGS(SORT,gsort sort,false)
|
||||
|
||||
-AC_CHECK_PROG(EGREP,egrep,egrep,false)
|
||||
-AC_CHECK_PROG(GROFF,groff,groff,false)
|
||||
-AC_CHECK_PROG(PS2PDF,ps2pdf,ps2pdf,false)
|
||||
-AC_CHECK_PROG(PS2PDF,pstopdf,pstopdf,false)
|
||||
+AC_CHECK_PROG(EGREP,egrep,egrep,echo)
|
||||
+AC_CHECK_PROG(GROFF,groff,groff,echo)
|
||||
+AC_CHECK_PROG(PS2PDF,ps2pdf,ps2pdf,echo)
|
||||
+AC_CHECK_PROG(PS2PDF,pstopdf,pstopdf,echo)
|
||||
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
Loading…
Reference in New Issue
Block a user