diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2001-02-03 01:53:02 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2001-02-03 01:53:02 +0000 |
commit | 7b326e61918f807b3d707f6aa88f0ab5465306c9 (patch) | |
tree | 4baa2c93c6ce7a74689218a9b348c36b598a1a6d /mail/faces/patches | |
parent | ac571cdc1e29085ab3baf299bb0ff0bf93b6ea49 (diff) | |
download | pkgsrc-7b326e61918f807b3d707f6aa88f0ab5465306c9.tar.gz |
add some missing header files for alpha.
Diffstat (limited to 'mail/faces/patches')
-rw-r--r-- | mail/faces/patches/patch-an | 29 | ||||
-rw-r--r-- | mail/faces/patches/patch-at | 38 | ||||
-rw-r--r-- | mail/faces/patches/patch-aw | 12 |
3 files changed, 38 insertions, 41 deletions
diff --git a/mail/faces/patches/patch-an b/mail/faces/patches/patch-an index 57bb996181c..124b5268089 100644 --- a/mail/faces/patches/patch-an +++ b/mail/faces/patches/patch-an @@ -1,34 +1,34 @@ -$NetBSD: patch-an,v 1.3 2000/07/08 12:47:07 tron Exp $ +$NetBSD: patch-an,v 1.4 2001/02/03 01:53:03 dmcmahill Exp $ ---- main.c.orig Tue Nov 19 05:00:47 1991 -+++ main.c Sat Jul 8 14:25:27 2000 -@@ -25,7 +25,7 @@ - #include <sys/param.h> +--- main.c.orig Mon Nov 18 23:00:47 1991 ++++ main.c Fri Feb 2 18:05:38 2001 +@@ -26,5 +26,5 @@ #include <sys/types.h> #include <sys/stat.h> -#if !defined(mips) || defined(ultrix) +#if !defined(mips) || defined(ultrix) || (defined(BSD) && BSD >= 199306) #include <netdb.h> #else - #ifdef SYSTYPE_BSD43 -@@ -63,6 +63,7 @@ - "period", /* Integer: period in seconds between checks. */ +@@ -37,4 +37,6 @@ + #include <ctype.h> + ++#include <string.h> ++ + #ifdef DNSLOOKUP + #include <sys/socket.h> +@@ -64,4 +66,5 @@ "bell", /* Integer: number of beeps for new arrival. */ "flash", /* Integer: number of flashes for new arrival. */ + "borderWidth", /* Integer: border width of window. */ "lower", /* Boolean: lower window if no mail. */ "raise", /* Boolean: raise window on update? */ - "button1clear", /* Boolean: mouse button 1 clear window? */ -@@ -150,6 +151,7 @@ - int facetype ; /* Type of face file found. */ +@@ -151,4 +154,5 @@ int firsttime = 1 ; /* Zeroised after first mail/printer check. */ int flashes = 0 ; /* Number of flashes for arrival of new mail. */ +int border_width = 2 ; /* Border width of window. */ int fromc_found = 0 ; /* Set if "From:" line found during processing. */ int froms_found = 0 ; /* Set if "From " line found during processing. */ - int height ; /* Height in pixels of faces display. */ -@@ -743,9 +745,10 @@ - if (get_str_resource(R_FONT, str)) read_str(&fontname, str) ; +@@ -744,7 +748,8 @@ if (get_str_resource(R_BGICON, str)) read_str(&bgicon, str) ; - if (get_int_resource(R_PERIOD, &intval)) period = intval ; @@ -40,4 +40,3 @@ $NetBSD: patch-an,v 1.3 2000/07/08 12:47:07 tron Exp $ + if (get_int_resource(R_BORDERWIDTH,&intval)) border_width = intval ; if (get_bool_resource(R_LOWER, &boolval)) lowerwindow = boolval ; - if (get_bool_resource(R_RAISE, &boolval)) raisewindow = boolval ; diff --git a/mail/faces/patches/patch-at b/mail/faces/patches/patch-at index 3e50e1e35f1..17029891059 100644 --- a/mail/faces/patches/patch-at +++ b/mail/faces/patches/patch-at @@ -1,9 +1,8 @@ -$NetBSD: patch-at,v 1.3 2000/07/08 12:47:09 tron Exp $ +$NetBSD: patch-at,v 1.4 2001/02/03 01:53:03 dmcmahill Exp $ ---- x11.c.orig Tue Nov 19 05:00:50 1991 -+++ x11.c Sat Jul 8 14:25:27 2000 -@@ -18,10 +18,10 @@ - +--- x11.c.orig Mon Nov 18 23:00:50 1991 ++++ x11.c Fri Feb 2 20:01:06 2001 +@@ -19,8 +19,9 @@ #include <stdio.h> #include <ctype.h> -#if ( !defined(mips) && !defined(TOPIX) ) || defined(ultrix) @@ -12,11 +11,10 @@ $NetBSD: patch-at,v 1.3 2000/07/08 12:47:09 tron Exp $ #include <sys/types.h> #include <sys/time.h> -#include <sys/param.h> ++#include <string.h> #else #ifdef SYSTYPE_BSD43 - #include <sys/types.h> -@@ -30,15 +30,16 @@ - #ifndef TOPIX +@@ -31,13 +32,14 @@ #include <bsd/sys/types.h> #include <bsd/sys/time.h> -#include <sys/param.h> @@ -33,17 +31,13 @@ $NetBSD: patch-at,v 1.3 2000/07/08 12:47:09 tron Exp $ + #ifdef HASPOLL #include <poll.h> - #endif /*HASPOLL*/ -@@ -58,7 +59,6 @@ - +@@ -59,5 +61,4 @@ #define F_ICON 0 /* Icon index to frame array. */ #define F_WINDOW 1 /* Window index to frame array. */ -#define FACES_BORDER_WIDTH 2 #define FRAME_MASK (ButtonPressMask | ExposureMask | \ ButtonMotionMask | KeyPressMask) - #define ICON_MASK ExposureMask -@@ -364,11 +364,13 @@ - init_font() ; +@@ -365,9 +366,11 @@ gc_mask = GCFont | GCForeground | GCBackground | GCGraphicsExposures ; gc_val.font = sfont->fid ; - gc_val.foreground = foregnd ; @@ -57,9 +51,7 @@ $NetBSD: patch-at,v 1.3 2000/07/08 12:47:09 tron Exp $ + gc_val.background = backgnd ; tilegc = XCreateGC(dpy, root, gc_mask, &gc_val) ; if (depth == 1) XSetFillStyle(dpy, tilegc, FillOpaqueStippled) ; - else XSetFillStyle(dpy, tilegc, FillTiled) ; -@@ -459,7 +461,11 @@ - +@@ -460,5 +463,9 @@ home = getenv("HOME") ; XrmInitialize() ; +#if (defined(BSD) && BSD >= 199306) @@ -69,29 +61,23 @@ $NetBSD: patch-at,v 1.3 2000/07/08 12:47:09 tron Exp $ +#endif /* Get applications defaults file, if any. */ - -@@ -576,14 +582,14 @@ - winattrs.event_mask = FRAME_MASK ; +@@ -577,5 +584,5 @@ frame[F_WINDOW] = XCreateWindow(dpy, root, size.x, size.y, - size.width, size.height, FACES_BORDER_WIDTH, + size.width, size.height, border_width, CopyFromParent, InputOutput, CopyFromParent, CWBackPixel | CWBorderPixel | CWEventMask, &winattrs) ; - - winattrs.event_mask = ICON_MASK ; +@@ -584,5 +591,5 @@ frame[F_ICON] = XCreateWindow(dpy, root, - ix, iy, imagewidth, imageheight, FACES_BORDER_WIDTH, + ix, iy, imagewidth, imageheight, border_width, CopyFromParent, InputOutput, CopyFromParent, CWBackPixel | CWBorderPixel | CWEventMask, &winattrs) ; - -@@ -856,6 +862,7 @@ - XFillRectangle(dpy, pr[(int) dtype], gc, x, y-9, +@@ -857,4 +864,5 @@ (unsigned int) textwidth+2, 13) ; XSetFunction(dpy, gc, GXxor) ; + XSetForeground(dpy, gc, WhitePixel(dpy, screen)); XDrawImageString(dpy, pr[(int) dtype], gc, x, y, str, len) ; XSetFunction(dpy, gc, GXcopy) ; - } diff --git a/mail/faces/patches/patch-aw b/mail/faces/patches/patch-aw new file mode 100644 index 00000000000..25f0a40c88b --- /dev/null +++ b/mail/faces/patches/patch-aw @@ -0,0 +1,12 @@ +$NetBSD: patch-aw,v 1.1 2001/02/03 01:53:03 dmcmahill Exp $ + +add prototypes for 64-bit machines + +--- address.y.orig Sun Jun 30 21:25:54 1991 ++++ address.y Fri Feb 2 18:03:04 2001 +@@ -2,4 +2,5 @@ + #include <stdio.h> + #include <signal.h> ++#include <string.h> + #include "addr.h" + #include "faces.h" |