summaryrefslogtreecommitdiff
path: root/net/cnet/files
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-03-15 02:03:38 +0000
committerSteve Price <steve@FreeBSD.org>1999-03-15 02:03:38 +0000
commit43133f5e9b7ee8954948d90ae61b931a9709f2d9 (patch)
tree653682841aec270696ea75885fcd9dfc77580cbf /net/cnet/files
parentUpdate MASTER_SITES. (diff)
Update to version 1.4p4.
PR: 10205 Submitted by: Michael Haro <mharo@area51.fremont.ca.us>
Notes
Notes: svn path=/head/; revision=17210
Diffstat (limited to 'net/cnet/files')
-rw-r--r--net/cnet/files/patch-ab9
-rw-r--r--net/cnet/files/patch-ad40
2 files changed, 40 insertions, 9 deletions
diff --git a/net/cnet/files/patch-ab b/net/cnet/files/patch-ab
index 8375184d026d..405620e4094d 100644
--- a/net/cnet/files/patch-ab
+++ b/net/cnet/files/patch-ab
@@ -11,12 +11,3 @@
#elif defined(USE_SOLARIS2)
#define NDATASEGS 1
#define LENDATA_EVER_0 FALSE
-@@ -196,7 +200,7 @@
- int nlinks;
- int *links;
-
-- int errno;
-+ int errorno;
- CnetError cnet_errno;
-
- unsigned long length_data[NDATASEGS];
diff --git a/net/cnet/files/patch-ad b/net/cnet/files/patch-ad
new file mode 100644
index 000000000000..f8a4ed61f52d
--- /dev/null
+++ b/net/cnet/files/patch-ad
@@ -0,0 +1,40 @@
+patch-ad:
+--- src/compile.c.orig Sun Jan 26 03:42:23 1997
++++ src/compile.c Sat Feb 13 02:29:14 1999
+@@ -2,6 +2,7 @@
+
+ #include <fcntl.h>
+ #include <sys/stat.h>
++#include <dlfcn.h>
+
+ #if !defined(MAXPATHLEN)
+ #define MAXPATHLEN 1024
+@@ -25,6 +26,9 @@
+ #elif defined(USE_IRIX5)
+ #include "irix5/compile.c"
+
++#elif defined(USE_FREEBSD)
++#include "freebsd/compile.c"
++
+ #elif defined(USE_LINUXAOUT)
+ #include "linuxaout/compile.c"
+
+@@ -263,7 +267,6 @@
+ int kflag; char **Cflags, *o_file, *c_file;
+ {
+ extern int fork _PARAMS((void));
+- extern int execvp _PARAMS((const char *, char **));
+
+ struct stat stat_c, stat_o;
+
+@@ -483,6 +486,10 @@
+ {
+
+ #define RECIEVE "[Rr][Ee][Cc][IiEe][Ee][Vv]"
++
++#if defined(USE_FREEBSD)
++#include <unistd.h>
++#endif
+
+ #if defined(SVR4) || defined(__svr4__)
+ #include <regexpr.h>