$OpenBSD: patch-compface_uncmain_c,v 1.1 2000/06/04 23:08:34 espie Exp $ --- compface/uncmain.c.orig Thu Oct 24 03:28:07 1991 +++ compface/uncmain.c Mon Jun 5 00:48:26 2000 @@ -18,6 +18,8 @@ #include #include "compface.h" +extern int xbitmap; + /* the buffer is longer than needed to handle sparse input formats */ #define FACEBUFLEN 2048 char fbuf[FACEBUFLEN]; @@ -59,6 +61,13 @@ char *argv[]; while (**argv) if (*((*argv)++) == '/') cmdname = *argv; /* find the command's basename */ + + if (argc > 1 && !strcmp(argv[1], "-X")) + { + xbitmap++; + argc--; + argv++; + } if (argc > 3) {