1 illumos doesn't have execvpe so we need to emulate it.
3 --- libcupsfilters-2.0.0/cupsfilters/ghostscript.c.orig 2023-09-22 00:21:04.000000000 +0200
4 +++ libcupsfilters-2.0.0/cupsfilters/ghostscript.c 2023-11-05 09:15:49.880764443 +0100
9 + extern char **environ;
11 // Put Ghostscript command line argument into an array for the "exec()"
16 // Execute Ghostscript command line ...
17 - execvpe(filename, gsargv, envp);
19 + execvp(filename, gsargv);
20 if (log) log(ld, CF_LOGLEVEL_ERROR,
21 "cfFilterGhostscript: Unable to launch Ghostscript: %s: %s",
22 filename, strerror(errno));