diff options
author | schwarz <schwarz@pkgsrc.org> | 2005-03-12 12:53:56 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2005-03-12 12:53:56 +0000 |
commit | 2559846ff2e42b86df8bbafee10497bd73d93a99 (patch) | |
tree | 4237054e1e05840bdd8eb0edb77a3a5dc4fd8f7d /mail/faces/patches | |
parent | e79f181034200d4f45320c4b5b49bc21d8683997 (diff) | |
download | pkgsrc-2559846ff2e42b86df8bbafee10497bd73d93a99.tar.gz |
added patches to support IRIX, closing PR#28315.
Diffstat (limited to 'mail/faces/patches')
-rw-r--r-- | mail/faces/patches/patch-an | 33 | ||||
-rw-r--r-- | mail/faces/patches/patch-ao | 20 | ||||
-rw-r--r-- | mail/faces/patches/patch-at | 4 | ||||
-rw-r--r-- | mail/faces/patches/patch-ba | 15 | ||||
-rw-r--r-- | mail/faces/patches/patch-bb | 16 | ||||
-rw-r--r-- | mail/faces/patches/patch-bc | 16 |
6 files changed, 89 insertions, 15 deletions
diff --git a/mail/faces/patches/patch-an b/mail/faces/patches/patch-an index 124b5268089..03a6af1fa95 100644 --- a/mail/faces/patches/patch-an +++ b/mail/faces/patches/patch-an @@ -1,34 +1,48 @@ -$NetBSD: patch-an,v 1.4 2001/02/03 01:53:03 dmcmahill Exp $ +$NetBSD: patch-an,v 1.5 2005/03/12 12:53:56 schwarz Exp $ ---- main.c.orig Mon Nov 18 23:00:47 1991 -+++ main.c Fri Feb 2 18:05:38 2001 -@@ -26,5 +26,5 @@ +--- main.c.orig 1991-11-19 05:00:47.000000000 +0100 ++++ main.c 2005-03-09 21:51:22.000000000 +0100 +@@ -25,7 +25,7 @@ + #include <sys/param.h> #include <sys/types.h> #include <sys/stat.h> -#if !defined(mips) || defined(ultrix) -+#if !defined(mips) || defined(ultrix) || (defined(BSD) && BSD >= 199306) ++#if !defined(mips) || defined(ultrix) || (defined(BSD) && BSD >= 199306) || defined(__sgi) #include <netdb.h> #else -@@ -37,4 +37,6 @@ + #ifdef SYSTYPE_BSD43 +@@ -36,6 +36,13 @@ + #endif #include <ctype.h> +#include <string.h> + ++#ifdef __sgi ++/* for calloc(), malloc(), realloc() */ ++#include <stdlib.h> ++#endif ++ #ifdef DNSLOOKUP #include <sys/socket.h> -@@ -64,4 +66,5 @@ + #endif /*DNSLOOKUP*/ +@@ -63,6 +70,7 @@ + "period", /* Integer: period in seconds between checks. */ "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? */ -@@ -151,4 +154,5 @@ + "button1clear", /* Boolean: mouse button 1 clear window? */ +@@ -150,6 +158,7 @@ + int facetype ; /* Type of face file found. */ 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. */ -@@ -744,7 +748,8 @@ + int height ; /* Height in pixels of faces display. */ +@@ -743,9 +752,10 @@ + if (get_str_resource(R_FONT, str)) read_str(&fontname, str) ; if (get_str_resource(R_BGICON, str)) read_str(&bgicon, str) ; - if (get_int_resource(R_PERIOD, &intval)) period = intval ; @@ -40,3 +54,4 @@ $NetBSD: patch-an,v 1.4 2001/02/03 01:53:03 dmcmahill 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-ao b/mail/faces/patches/patch-ao index 34e159f708c..c6246962114 100644 --- a/mail/faces/patches/patch-ao +++ b/mail/faces/patches/patch-ao @@ -1,14 +1,26 @@ -$NetBSD: patch-ao,v 1.3 2000/07/08 12:47:08 tron Exp $ +$NetBSD: patch-ao,v 1.4 2005/03/12 12:53:56 schwarz Exp $ ---- mon.c.orig Tue Nov 19 05:00:48 1991 -+++ mon.c Sat Jul 8 14:25:27 2000 +--- mon.c.orig 1991-11-19 05:00:48.000000000 +0100 ++++ mon.c 2005-03-09 21:52:39.000000000 +0100 @@ -23,7 +23,8 @@ #endif /* SYSV32 || hpux */ #include <sys/types.h> #include <sys/stat.h> -#if ( !defined(mips) && !defined(TOPIX) ) || defined(ultrix) +#include <sys/param.h> -+#if ( !defined(mips) && !defined(TOPIX) ) || defined(ultrix) || (defined(BSD) && BSD >= 199306) ++#if ( !defined(mips) && !defined(TOPIX) ) || defined(ultrix) || (defined(BSD) && BSD >= 199306) || defined(__sgi) #include <sys/time.h> #else #ifdef SYSTYPE_BSD43 +@@ -50,6 +51,11 @@ + #endif /*TOPIX*/ + #endif /*!NOUTIME*/ + ++#ifdef __sgi ++/* for calloc(), malloc(), realloc() */ ++#include <stdlib.h> ++#endif ++ + #include "faces.h" + #include "extern.h" + diff --git a/mail/faces/patches/patch-at b/mail/faces/patches/patch-at index bc2ad063a43..590c2ae148e 100644 --- a/mail/faces/patches/patch-at +++ b/mail/faces/patches/patch-at @@ -1,4 +1,4 @@ -$NetBSD: patch-at,v 1.5 2001/11/29 18:00:32 wiz Exp $ +$NetBSD: patch-at,v 1.6 2005/03/12 12:53:56 schwarz Exp $ --- x11.c.orig Mon Nov 18 23:00:50 1991 +++ x11.c Fri Feb 2 20:01:06 2001 @@ -7,7 +7,7 @@ $NetBSD: patch-at,v 1.5 2001/11/29 18:00:32 wiz Exp $ #include <ctype.h> -#if ( !defined(mips) && !defined(TOPIX) ) || defined(ultrix) +#include <sys/param.h> -+#if ( !defined(mips) && !defined(TOPIX) ) || defined(ultrix) || (defined(BSD) && BSD >= 199306) ++#if ( !defined(mips) && !defined(TOPIX) ) || defined(ultrix) || (defined(BSD) && BSD >= 199306) || defined(__sgi) #include <sys/types.h> #include <sys/time.h> -#include <sys/param.h> diff --git a/mail/faces/patches/patch-ba b/mail/faces/patches/patch-ba new file mode 100644 index 00000000000..327d3ef505c --- /dev/null +++ b/mail/faces/patches/patch-ba @@ -0,0 +1,15 @@ +$NetBSD: patch-ba,v 1.1 2005/03/12 12:53:56 schwarz Exp $ + +--- rec.c.orig 2005-03-09 21:51:57.000000000 +0100 ++++ rec.c 2005-03-09 21:52:19.000000000 +0100 +@@ -20,6 +20,10 @@ + #else + #include <strings.h> + #endif /* SYSV32 || hpux */ ++#ifdef __sgi ++/* for calloc(), malloc(), realloc() */ ++#include <stdlib.h> ++#endif + #include "faces.h" + #include "extern.h" + diff --git a/mail/faces/patches/patch-bb b/mail/faces/patches/patch-bb new file mode 100644 index 00000000000..0ede0d8368a --- /dev/null +++ b/mail/faces/patches/patch-bb @@ -0,0 +1,16 @@ +$NetBSD: patch-bb,v 1.1 2005/03/12 12:53:56 schwarz Exp $ + +--- xview.c.orig 2005-03-09 21:53:05.000000000 +0100 ++++ xview.c 2005-03-09 21:53:26.000000000 +0100 +@@ -27,6 +27,11 @@ + #include <X11/Xlib.h> + #include <X11/Xresource.h> + ++#ifdef __sgi ++/* for calloc(), malloc(), realloc() */ ++#include <stdlib.h> ++#endif ++ + #define DEF_FONT "fixed" + #define F_ICON 0 /* Icon index to frame array. */ + #define F_WINDOW 1 /* Window index to frame array. */ diff --git a/mail/faces/patches/patch-bc b/mail/faces/patches/patch-bc new file mode 100644 index 00000000000..c67632ac882 --- /dev/null +++ b/mail/faces/patches/patch-bc @@ -0,0 +1,16 @@ +$NetBSD: patch-bc,v 1.1 2005/03/12 12:53:56 schwarz Exp $ + +--- xface/xface.c.orig 2005-03-09 21:54:30.000000000 +0100 ++++ xface/xface.c 2005-03-09 21:54:55.000000000 +0100 +@@ -20,6 +20,11 @@ + #include <X11/Xlib.h> + #include <X11/Xutil.h> + ++#ifdef __sgi ++/* for calloc(), malloc(), realloc() */ ++#include <stdlib.h> ++#endif ++ + #include "xface.h" + + static char empty_bits[(WIDTH/8) * HEIGHT]; |