openbsd-ports/print/cups-pdf/patches/patch-src_cups-pdf_h
ajacoutot 097416b041 Update to cups-pdf-2.5.0.
Tweak MESSAGE accordingly.
2009-09-08 14:02:45 +00:00

16 lines
980 B
Plaintext

$OpenBSD: patch-src_cups-pdf_h,v 1.3 2009/09/08 14:02:46 ajacoutot Exp $
--- src/cups-pdf.h.orig Sun Jan 25 20:51:05 2009
+++ src/cups-pdf.h Fri Sep 4 22:58:56 2009
@@ -68,9 +68,9 @@ static struct {
static void _set_defaults() {
snprintf(conf.anondirname,BUFSIZE,"%s","/var/spool/cups-pdf/ANONYMOUS");
snprintf(conf.anonuser,BUFSIZE,"%s","nobody");
- snprintf(conf.ghostscript,BUFSIZE,"/usr/bin/gs");
+ snprintf(conf.ghostscript,BUFSIZE,"/usr/local/bin/gs");
snprintf(conf.gscall,BUFSIZE,"%s","%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s");
- snprintf(conf.grp,BUFSIZE,"%s","lp");
+ snprintf(conf.grp,BUFSIZE,"%s","_cups");
snprintf(conf.gstmp,BUFSIZE,"%s","TMPDIR=/var/tmp");
snprintf(conf.log,BUFSIZE,"%s","/var/log/cups");
snprintf(conf.pdfver,BUFSIZE,"%s","1.4");