diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 23:20:38 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 23:20:38 +0000 |
commit | 8e7fd48a294d7d6e54c6d07989807cff33ab19bd (patch) | |
tree | 0e35601cdb966c752e15cc4e5381c7e20e13fd50 /mail/faces/files/patch-compface_uncompface.c | |
parent | science/sigrok-cli: update to 0.5.0 (diff) |
Rename mail/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363275
Diffstat (limited to 'mail/faces/files/patch-compface_uncompface.c')
-rw-r--r-- | mail/faces/files/patch-compface_uncompface.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mail/faces/files/patch-compface_uncompface.c b/mail/faces/files/patch-compface_uncompface.c new file mode 100644 index 000000000000..74d68d31bfc1 --- /dev/null +++ b/mail/faces/files/patch-compface_uncompface.c @@ -0,0 +1,40 @@ +*** 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 +*************** +*** 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; + } |