openbsd-ports/print/cups-pdf/patches/patch-src_cups-pdf_h
2008-04-29 12:10:15 +00:00

16 lines
976 B
Plaintext

$OpenBSD: patch-src_cups-pdf_h,v 1.2 2008/04/29 12:10:15 bernd Exp $
--- src/cups-pdf.h.orig Sun Mar 23 22:18:55 2008
+++ src/cups-pdf.h Thu Apr 24 08:15:07 2008
@@ -67,9 +67,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");