Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / print / foomatic4-filters / patches / patch-ba
blobc262a94626b48477a90e36caebce40548e81611e
1 $NetBSD$
3 avoid namespace problems
5 --- foomaticrip.h.orig  2012-07-02 14:50:46.000000000 +0000
6 +++ foomaticrip.h
7 @@ -33,6 +33,7 @@
8  #include <stddef.h>
9  #include <stdio.h>
10  #include <time.h>
11 +#include <limits.h>
13  /* This is the location of the debug logfile (and also the copy of the
14   * processed PostScript data) in case you have enabled debugging above.
15 @@ -93,7 +94,7 @@
16  extern int spooler;
19 -#define PATH_MAX 65536
20 +#define FM_CMDLINE_MAX 65536
22  typedef struct {
23      char printer[256];
24 @@ -123,7 +124,7 @@ extern struct dstr *jclappend;
25  extern char **jclprepend;
26  extern int jobhasjcl;
27  extern const char *accounting_prolog;
28 -extern char fileconverter[PATH_MAX];
29 +extern char fileconverter[FM_CMDLINE_MAX];
30  extern char cupsfilterpath[PATH_MAX];
31  extern int debug;
32  extern int do_docs;