pkgsrc/mail/faces/patches/patch-af
simonb 9599fc7b0e Spilt patches into one-file-per-patch-file, and make this work on
the pmax (and other mips ports) - all the world is not IRIX...
1999-10-01 05:09:14 +00:00

26 lines
653 B
Text

diff -ur ../faces-DIST/compface/uncmain.c ./compface/uncmain.c
--- ../faces-DIST/compface/uncmain.c Thu Oct 24 12:28:07 1991
+++ ./compface/uncmain.c Fri Oct 1 14:32:06 1999
@@ -18,6 +18,8 @@
#include <fcntl.h>
#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 @@
while (**argv)
if (*((*argv)++) == '/')
cmdname = *argv; /* find the command's basename */
+
+ if (argc > 1 && !strcmp(argv[1], "-X"))
+ {
+ xbitmap++;
+ argc--;
+ argv++;
+ }
if (argc > 3)
{