summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-02-03 01:53:02 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-02-03 01:53:02 +0000
commit7b326e61918f807b3d707f6aa88f0ab5465306c9 (patch)
tree4baa2c93c6ce7a74689218a9b348c36b598a1a6d
parentac571cdc1e29085ab3baf299bb0ff0bf93b6ea49 (diff)
downloadpkgsrc-7b326e61918f807b3d707f6aa88f0ab5465306c9.tar.gz
add some missing header files for alpha.
-rw-r--r--mail/faces/files/patch-sum7
-rw-r--r--mail/faces/patches/patch-an29
-rw-r--r--mail/faces/patches/patch-at38
-rw-r--r--mail/faces/patches/patch-aw12
4 files changed, 42 insertions, 44 deletions
diff --git a/mail/faces/files/patch-sum b/mail/faces/files/patch-sum
index 24b433a9a8c..3862dc54633 100644
--- a/mail/faces/files/patch-sum
+++ b/mail/faces/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.10 2000/09/06 12:44:37 tron Exp $
+$NetBSD: patch-sum,v 1.11 2001/02/03 01:53:02 dmcmahill Exp $
MD5 (patch-aa) = 052e47d7ef63e511fcd5d2d1cc306ba1
MD5 (patch-ab) = 20c7e9729e4e6362b36ccc5292fabf74
@@ -13,12 +13,13 @@ MD5 (patch-aj) = ebdd5903ef340077e6e486080dc0e97a
MD5 (patch-ak) = 0b663201f39a8728094210e17d6645f0
MD5 (patch-al) = ec5499ed1a1f71d484284f45f5ec5081
MD5 (patch-am) = 0996c2b2f6ee59b9c292f2510d24bcb2
-MD5 (patch-an) = cacfe44402e0f773a9c7fea116a4a16a
+MD5 (patch-an) = 7ac910638005ef74239cf4b77516cb91
MD5 (patch-ao) = 39d6d7a910da6d64ae35a0aa717cd759
MD5 (patch-ap) = d7f82cf8262109362d432d9d92c7b281
MD5 (patch-aq) = 09927d545bbbda20b3198dfdd0c308a3
MD5 (patch-ar) = 1f692c496ff98cac060c3f560ef9b2f3
MD5 (patch-as) = a43e19748e3bef604d57900618e48895
-MD5 (patch-at) = 09190a1be51620a034ee326cc3befd74
+MD5 (patch-at) = 1cdbb750ccf78b8fa1daa2049a7141f8
MD5 (patch-au) = 17557ea50fc9fbc20faa3fbf8c1d4c6b
MD5 (patch-av) = e8c5c48214b792bd75cbbdc4162e6dba
+MD5 (patch-aw) = 843b3b776502d4c791f1cfec63859351
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"