foomatic-db-engine-4.0.8-fix-sandbox.patch 882 B

12345678910111213141516171819202122232425262728293031
  1. --- configure.ac.OSmanOS 2011-07-25 12:51:20.000000000 +0300
  2. +++ configure.ac 2012-11-20 13:21:36.921307899 +0200
  3. @@ -163,27 +163,6 @@
  4. fi
  5. -AC_MSG_CHECKING(how to redirect Ghostscript output to fd 3)
  6. -if test "$DEVFD3" = "" ; then
  7. - v=`( if test -d /dev/fd ; then echo 3 >/dev/fd/3; fi) 3>&1 1>&2`
  8. - if test "$v" != "" ; then
  9. - DEVFD3=/dev/fd/3
  10. - DEVFD0=/dev/fd/0
  11. - else
  12. - DEVFD3="|$CAT >&3"
  13. - DEVFD0=-
  14. - fi
  15. - if test "$GS" != "GHOSTSCRIPT_NOT_FOUND" -a "$GSCHECK" != "no" ; then
  16. - rm -f gs_out
  17. - gs -q -dBATCH -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=laserjet "-sOutputFile=$DEVFD3" ${srcdir}/gsPrint 3>gs_out
  18. - if test "!" -s gs_out ; then
  19. - AC_MSG_ERROR("ERROR - gs cannot handle -sOutputFile=$OUT" )
  20. - fi
  21. - fi
  22. -fi
  23. -AC_MSG_RESULT(using $DEVFD3)
  24. -AC_SUBST(DEVFD3)
  25. -AC_SUBST(DEVFD0)
  26. # Check for Perl
  27. AC_PATH_PROGS(PERL,perl,/usr/bin/perl,$BINSEARCHPATH)