diff options
Diffstat (limited to 'mail/faces/files/patch-ck')
-rw-r--r-- | mail/faces/files/patch-ck | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/mail/faces/files/patch-ck b/mail/faces/files/patch-ck new file mode 100644 index 000000000000..bc58c8648612 --- /dev/null +++ b/mail/faces/files/patch-ck @@ -0,0 +1,62 @@ +*** compface/uncompface.c Thu Feb 21 16:42:54 2002 +--- /home/lkoeller/tmp/ports/mail/faces/work/faces/compface/uncompface.c Wed Jun 19 08:29:14 1991 +*************** +*** 1,10 **** +- + /* +- * $Header: /cvs/faces/faces/compface/uncompface.c,v 1.3 2002/02/21 15:42:54 devface Exp $ +- * + * Compface - 48x48x1 image compression and decompression + * +! * Copyright (c) 1990-2002 James Ashton - Sydney University + * + * Permission is given to distribute these sources, as long as the + * copyright messages are not removed, and no monies are exchanged. +--- 1,9 ---- + /* + * Compface - 48x48x1 image compression and decompression + * +! * Copyright (c) James Ashton - Sydney University - June 1990. +! * +! * Written 11th November 1989. + * + * Permission is given to distribute these sources, as long as the + * copyright messages are not removed, and no monies are exchanged. +*************** +*** 14,29 **** + * to me, then an attempt will be made to fix them. + */ + + #include "compface.h" +- #include "vars.h" + + int +! uncompface(char *fbuf) + { +! if (!(status = setjmp(comp_env))) { +! UnCompAll(fbuf); /* compress otherwise */ + UnGenFace(); + WriteFace(fbuf); + } +! return(status); + } +--- 13,31 ---- + * to me, then an attempt will be made to fix them. + */ + ++ #define MAIN ++ + #include "compface.h" + + int +! uncompface(fbuf) +! char *fbuf; + { +! if (!(status = setjmp(comp_env))) +! { +! UnCompAll(fbuf);/* compress otherwise */ + UnGenFace(); + WriteFace(fbuf); + } +! return status; + } |