freebsd-ports/mail/metamail/files/patch-config.h
Rong-En Fan 4f0cc5947d - Rename patch filenames to match new style
This is mainly for ports/106818.

Submitted by:	Jean-Francois Dockes <jean-francois.dockes at wanadoo.fr> (maintainer.
2006-12-19 01:47:36 +00:00

23 lines
471 B
C

--- config.h.orig Wed Nov 24 16:36:07 1993
+++ config.h Mon Dec 18 11:46:21 2006
@@ -73,7 +73,7 @@
#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 @@
#ifdef NeXT
#define sigtype void
#else
+#ifdef __FreeBSD__
+#define sigtype void
+#else
#define sigtype int
+#endif
#endif
#endif