diff options
author | Lars Koeller <lkoeller@FreeBSD.org> | 2003-01-19 16:16:42 +0000 |
---|---|---|
committer | Lars Koeller <lkoeller@FreeBSD.org> | 2003-01-19 16:16:42 +0000 |
commit | 98bf9511846b91dc76444ad4253758e298d8232c (patch) | |
tree | be364c0e0b6245061baa1609090d162cf988acb7 /mail/faces/files/patch-bc | |
parent | o) Remove of libhelp, which would never compile with current motif (diff) |
o) Update to nearly complete rewritten faces-1.7.7 port
o) This port now includes xfaces functionality -> remove xfaces port
o) Support for different audio systems when building the port
PR: ports/35578, ports/35617
Submitted by: Alan Eldridge <ports@geeksrus.net>
Notes
Notes:
svn path=/head/; revision=73500
Diffstat (limited to 'mail/faces/files/patch-bc')
-rw-r--r-- | mail/faces/files/patch-bc | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/mail/faces/files/patch-bc b/mail/faces/files/patch-bc deleted file mode 100644 index 5b46e56ac9ff..000000000000 --- a/mail/faces/files/patch-bc +++ /dev/null @@ -1,107 +0,0 @@ -diff -c -N ../faces/compface/file.c ./compface/file.c -*** ../faces/compface/file.c Wed Jun 19 08:29:13 1991 ---- ./compface/file.c Wed Dec 11 09:25:17 1996 -*************** -*** 15,20 **** ---- 15,22 ---- - - #include "compface.h" - -+ int xbitmap=0; -+ - void - BigRead(fbuf) - register char *fbuf; -*************** -*** 127,136 **** ---- 129,147 ---- - { - register char *s, *t; - register int i, bits, digits, words; -+ extern int xbitmap; -+ int digsperword = DIGSPERWORD; -+ int wordsperline = WORDSPERLINE; - - s = F; - t = fbuf; - bits = digits = words = i = 0; -+ if (xbitmap) { -+ sprintf(t,"#define noname_width 48\n#define noname_height 48\nstatic char noname_bits[] = {\n "); -+ while (*t) t++; -+ digsperword = 2; -+ wordsperline = 15; -+ } - while (s < F + PIXELS) - { - if ((bits == 0) && (digits == 0)) -*************** -*** 138,162 **** - *(t++) = '0'; - *(t++) = 'x'; - } -! if (*(s++)) -! i = i * 2 + 1; -! else -! i *= 2; - if (++bits == BITSPERDIG) - { -! *(t++) = *(i + HexDigits); - bits = i = 0; -! if (++digits == DIGSPERWORD) - { - *(t++) = ','; - digits = 0; -! if (++words == WORDSPERLINE) - { - *(t++) = '\n'; - words = 0; - } - } - } - } - *(t++) = '\0'; - } ---- 149,191 ---- - *(t++) = '0'; - *(t++) = 'x'; - } -! if (xbitmap) { -! if (*(s++)) -! i = (i >> 1) | 0x8; -! else -! i >>= 1; -! } -! else { -! if (*(s++)) -! i = i * 2 + 1; -! else -! i *= 2; -! } - if (++bits == BITSPERDIG) - { -! if (xbitmap) { -! t++; -! t[-(digits & 1) * 2] = *(i + HexDigits); -! } -! else *(t++) = *(i + HexDigits); - bits = i = 0; -! if (++digits == digsperword) - { -+ if (xbitmap && (s >= F + PIXELS)) break; - *(t++) = ','; - digits = 0; -! if (++words == wordsperline) - { - *(t++) = '\n'; -+ if (xbitmap) *(t++) = ' '; - words = 0; - } - } - } -+ } -+ if (xbitmap) { -+ sprintf(t, "}\n"); -+ while (*t) t++; - } - *(t++) = '\0'; - } |