File hypermail-gcc15.patch of Package hypermail
Index: hypermail-2.2.0.20070131/src/setup.h
===================================================================
--- hypermail-2.2.0.20070131.orig/src/setup.h
+++ hypermail-2.2.0.20070131/src/setup.h
@@ -1,7 +1,8 @@
#ifndef __SETUP_H
#define __SETUP_H
-typedef int bool;
+#include <stdbool.h>
+
typedef union _defval_t {char *string; int integer;} defval_t;
struct Config {
char *label; /* the real-name of what to set */
Index: hypermail-2.2.0.20070131/src/proto.h
===================================================================
--- hypermail-2.2.0.20070131.orig/src/proto.h
+++ hypermail-2.2.0.20070131/src/proto.h
@@ -2,6 +2,7 @@
#define __PROTO_H_ 1
#include "hypermail.h"
+#include <stdbool.h>
/*
** Date functions - date.c
@@ -45,7 +46,7 @@ int find_max_msgnum(void);
int is_empty_archive(void);
void symlink_latest(void);
struct emailsubdir *msg_subdir(int, time_t);
-char *msg_href(struct emailinfo *, struct emailinfo *, int);
+char *msg_href(struct emailinfo *, struct emailinfo *, bool);
char *msg_relpath(struct emailinfo *, struct emailinfo *);
char *articlehtmlfilename(struct emailinfo *);
char *htmlfilename(const char *, struct emailinfo *, const char *);