summaryrefslogtreecommitdiff
path: root/mail/faces/files/patch-cd
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2003-01-19 19:07:23 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2003-01-19 19:07:23 +0000
commitd60b460b0300d3cb5cfc8406f57f29ef4d362c7a (patch)
tree05c0a0b340f8bbd9dfb254329235387b38b1a8aa /mail/faces/files/patch-cd
parentAdd --enable-fpe=uae into CONFIGURE_ARGS and get rid of linuxthreads. (diff)
o) Patch reverse compface part to faces 1.6.1 port
- Missing uncompface -X option used in exmh - Missing filter programs to generate ikon file - I will try communicate the necessary add ons to the new developers of faces.
Diffstat (limited to 'mail/faces/files/patch-cd')
-rw-r--r--mail/faces/files/patch-cd62
1 files changed, 62 insertions, 0 deletions
diff --git a/mail/faces/files/patch-cd b/mail/faces/files/patch-cd
new file mode 100644
index 000000000000..4368a7991e88
--- /dev/null
+++ b/mail/faces/files/patch-cd
@@ -0,0 +1,62 @@
+*** compface/compface.c Thu Feb 21 16:42:54 2002
+--- /home/lkoeller/tmp/ports/mail/faces/work/faces/compface/compface.c Wed Jun 19 08:29:12 1991
+***************
+*** 1,10 ****
+-
+ /*
+- * $Header: /cvs/faces/faces/compface/compface.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
+! compface(char *fbuf)
+ {
+! if (!(status = setjmp(comp_env))) {
+ ReadFace(fbuf);
+ GenFace();
+ CompAll(fbuf);
+ }
+! return(status);
+ }
+--- 13,31 ----
+ * to me, then an attempt will be made to fix them.
+ */
+
++ #define MAIN
++
+ #include "compface.h"
+
+ int
+! compface(fbuf)
+! char *fbuf;
+ {
+! if (!(status = setjmp(comp_env)))
+! {
+ ReadFace(fbuf);
+ GenFace();
+ CompAll(fbuf);
+ }
+! return status;
+ }