openbsd-ports/mail/metamail/patches/patch-config_h
pvalchev 653d63b9e7 - getc() returns an int, not a char
- Rename patches with update-patches while here
2002-02-20 21:18:02 +00:00

25 lines
619 B
Plaintext

$OpenBSD: patch-config_h,v 1.1 2002/02/20 21:18:02 pvalchev Exp $
--- config.h.orig Wed Nov 24 08:36:07 1993
+++ config.h Wed Feb 20 14:06:43 2002
@@ -73,7 +73,7 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIE
#ifdef SYSV
#define RESET_PROGRAM "tput clear"
#else
-#ifdef __BSD_4_4__
+#if defined(__BSD_4_4__) || defined(__FreeBSD__)
#define RESET_PROGRAM "/usr/bin/reset"
#else
#define RESET_PROGRAM "/usr/ucb/reset"
@@ -155,7 +155,11 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIE
#ifdef NeXT
#define sigtype void
#else
+#ifdef __FreeBSD__
+#define sigtype void
+#else
#define sigtype int
+#endif
#endif
#endif