summaryrefslogtreecommitdiff
path: root/mail/hbiff/files/patch-hbiff.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:20:38 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:20:38 +0000
commit8e7fd48a294d7d6e54c6d07989807cff33ab19bd (patch)
tree0e35601cdb966c752e15cc4e5381c7e20e13fd50 /mail/hbiff/files/patch-hbiff.c
parentscience/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/hbiff/files/patch-hbiff.c')
-rw-r--r--mail/hbiff/files/patch-hbiff.c55
1 files changed, 55 insertions, 0 deletions
diff --git a/mail/hbiff/files/patch-hbiff.c b/mail/hbiff/files/patch-hbiff.c
new file mode 100644
index 000000000000..38e4cb7ac210
--- /dev/null
+++ b/mail/hbiff/files/patch-hbiff.c
@@ -0,0 +1,55 @@
+--- hbiff.c.orig Sat Nov 22 19:17:50 1997
++++ hbiff.c Sat Dec 26 14:11:06 1998
+@@ -26,6 +26,7 @@
+ #include <string.h>
+ #include <signal.h>
+ #include <time.h>
++#include <utime.h>
+ #include <errno.h>
+
+ extern int errno;
+@@ -276,7 +277,7 @@
+ /*
+ | default mail command
+ */
+- mail_command = "xterm -e mailx";
++ mail_command = "xterm -e Mail";
+ x = 100;
+ y = 100;
+ sx = 50;
+@@ -517,7 +518,7 @@
+ | if no font was specified, set font to "6x10"
+ */
+ if (font_name == '\0')
+- font_name = "6x10";
++ font_name = "fixed";
+
+ /*
+ | get the font information
+@@ -544,7 +545,7 @@
+
+ if (mail_file[0] == '\0')
+ {
+- strcpy(mail_file, "/usr/mail/");
++ strcpy(mail_file, "/var/mail/");
+ strcat(mail_file, username);
+ }
+
+@@ -815,9 +816,14 @@
+ | set up bitmaps for the different mailboxes
+ | (no mail, old mail, or new mail)
+ */
+- pix[0] = XCreateBitmapFromData(disp_ptr, window_id, nomail_bits, 64, 64, foreground, background, XDefaultDepth(disp_ptr, screen));
+- pix[1] = XCreateBitmapFromData(disp_ptr, window_id, newmail_bits, 64, 64, foreground, background, XDefaultDepth(disp_ptr, screen));
+- pix[2] = XCreateBitmapFromData(disp_ptr, window_id, oldmail_bits, 64, 64, foreground, background, XDefaultDepth(disp_ptr, screen));
++ pix[0] = XCreateBitmapFromData(disp_ptr, window_id, nomail_bits, 64, 64);
++ pix[1] = XCreateBitmapFromData(disp_ptr, window_id, newmail_bits, 64, 64);
++ pix[2] = XCreateBitmapFromData(disp_ptr, window_id, oldmail_bits, 64, 64);
++/*
++ pix[0] = XCreatePixmapFromBitmapData(disp_ptr, window_id, nomail_bits, 64, 64, foreground, background, XDefaultDepth(disp_ptr, screen));
++ pix[1] = XCreatePixmapFromBitmapData(disp_ptr, window_id, newmail_bits, 64, 64, foreground, background, XDefaultDepth(disp_ptr, screen));
++ pix[2] = XCreatePixmapFromBitmapData(disp_ptr, window_id, oldmail_bits, 64, 64, foreground, background, XDefaultDepth(disp_ptr, screen));
++*/
+
+ /*
+ | set up values for window