summaryrefslogtreecommitdiff
path: root/mail/faces/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'mail/faces/patches/patch-af')
-rw-r--r--mail/faces/patches/patch-af26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/faces/patches/patch-af b/mail/faces/patches/patch-af
new file mode 100644
index 00000000000..2f4a9d7e079
--- /dev/null
+++ b/mail/faces/patches/patch-af
@@ -0,0 +1,26 @@
+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)
+ {