fix build on mips64.
no bump, because !mips64 packages didn't change, and mips64 didn't package.
This commit is contained in:
parent
10f8d65953
commit
90bc93a15e
@ -1,7 +1,33 @@
|
||||
$OpenBSD: patch-main_c,v 1.1 2000/06/04 23:08:34 espie Exp $
|
||||
$OpenBSD: patch-main_c,v 1.2 2007/05/23 23:38:38 jasper Exp $
|
||||
--- main.c.orig Tue Nov 19 05:00:47 1991
|
||||
+++ main.c Mon Jun 5 00:48:26 2000
|
||||
@@ -63,6 +63,7 @@ char *resources[] = { /* Faces X re
|
||||
+++ main.c Thu May 24 01:31:16 2007
|
||||
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+
|
||||
#if SYSV32 || hpux
|
||||
#include <string.h>
|
||||
#else
|
||||
@@ -25,15 +26,9 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
-#if !defined(mips) || defined(ultrix)
|
||||
+
|
||||
#include <netdb.h>
|
||||
-#else
|
||||
-#ifdef SYSTYPE_BSD43
|
||||
-#include <netdb.h>
|
||||
-#else
|
||||
-#include <bsd/netdb.h>
|
||||
-#endif
|
||||
-#endif
|
||||
+
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef DNSLOOKUP
|
||||
@@ -63,6 +58,7 @@ char *resources[] = { /* Faces X resources read.
|
||||
"period", /* Integer: period in seconds between checks. */
|
||||
"bell", /* Integer: number of beeps for new arrival. */
|
||||
"flash", /* Integer: number of flashes for new arrival. */
|
||||
@ -9,7 +35,7 @@ $OpenBSD: patch-main_c,v 1.1 2000/06/04 23:08:34 espie Exp $
|
||||
"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 dontshowuser = 0 ; /* Set if userna
|
||||
@@ -150,6 +146,7 @@ int dontshowuser = 0 ; /* Set if username for new mai
|
||||
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. */
|
||||
@ -17,7 +43,7 @@ $OpenBSD: patch-main_c,v 1.1 2000/06/04 23:08:34 espie Exp $
|
||||
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 @@ read_resources() /* Read all
|
||||
@@ -743,9 +740,10 @@ read_resources() /* Read all possible resou
|
||||
if (get_str_resource(R_FONT, str)) read_str(&fontname, str) ;
|
||||
if (get_str_resource(R_BGICON, str)) read_str(&bgicon, str) ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user