aboutsummaryrefslogtreecommitdiff
path: root/comms/minicom
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-12-14 09:29:24 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-12-14 09:29:24 +0000
commit5893045b22df6d792a736366a050c9c4f68cc152 (patch)
tree763955cfe271794706757b05b30db54dfabff000 /comms/minicom
parent1d08aa8f88766d5d93a05010cd97031ca7f9df2f (diff)
downloadports-5893045b22df6d792a736366a050c9c4f68cc152.tar.gz
ports-5893045b22df6d792a736366a050c9c4f68cc152.zip
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>
Notes
Notes: svn path=/head/; revision=15342
Diffstat (limited to 'comms/minicom')
-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 000000000000..635df74ef8e2
--- /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.