1 Adds info message that 'groff-x11' package might be missing when executing
2 'groff -X' and 'gxditview' is not found.
4 Author: Jan Vcelak <jvcelak@redhat.com>
5 Fixes: #530788 groff and groff-gxditview shouldn't be split
7 diff -ur groff-1.20.1.orig/src/roff/groff/pipeline.c groff-1.20.1/src/roff/groff/pipeline.c
8 --- groff-1.20.1.orig/src/roff/groff/pipeline.c 2010-03-19 11:06:37.437182240 +0100
9 +++ groff-1.20.1/src/roff/groff/pipeline.c 2010-03-19 11:42:14.820161806 +0100
11 execvp(commands[i][0], commands[i]);
12 error("couldn't exec %1: %2",
13 commands[i][0], strerror(errno), (char *)0);
14 + if (strcmp(commands[i][0], "gxditview") == 0)
15 + fprintf(stderr, "You might be missing 'groff-x11' package.\n");
16 fflush(stderr); /* just in case error() doesn't */
17 _exit(EXEC_FAILED_EXIT_STATUS);