summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-12-14 09:29:24 +0000
committerobrien <obrien@FreeBSD.org>1998-12-14 09:29:24 +0000
commit6427257fd734a2cad6523570db62d517efe45f44 (patch)
tree7af15aba1bca0e932cf755d5bbd647258cf8ed7d
parente390815bfab746256346a88b29381e11e4e02fb7 (diff)
downloadFreeBSD-ports-6427257fd734a2cad6523570db62d517efe45f44.zip
FreeBSD-ports-6427257fd734a2cad6523570db62d517efe45f44.tar.gz
Include <sys/param.h> for ascii-xfer. Otherwise it doesn't recognize our
superior BSDness. It also doesn't include code for line/character delays. Noticed by: Daniel O'Connor <doconnor@gsoft.com.au>
-rw-r--r--comms/minicom/files/patch-ba13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/minicom/files/patch-ba b/comms/minicom/files/patch-ba
new file mode 100644
index 0000000..635df74
--- /dev/null
+++ b/comms/minicom/files/patch-ba
@@ -0,0 +1,13 @@
+--- ascii-xfr.c.orig Sun Mar 8 08:10:26 1998
++++ ascii-xfr.c Sun Dec 13 21:55:16 1998
+@@ -14,6 +14,10 @@
+ #include <string.h>
+ #include <time.h>
+ #include <fcntl.h>
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#include <sys/param.h> /* get BSD definition if present */
++#endif
++
+
+ /*
+ * Externals.
OpenPOWER on IntegriCloud