diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-21 00:45:05 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-21 00:45:05 +0000 |
commit | 9c22f70426324d1ec0a556bc89bfe2f2cae7ed17 (patch) | |
tree | 8d11945a7d077c172175b5e12d136c2a07bbeb52 /www/harvest | |
parent | prettify after removal of Chatzilla (diff) |
Partially fix build on -current (remove duplicate declarations of things
in system headers). This is still broken because IPPORT_USERRESERVED
was removed from -current.
Notes
Notes:
svn path=/head/; revision=68458
Diffstat (limited to 'www/harvest')
-rw-r--r-- | www/harvest/files/patch-ab | 13 | ||||
-rw-r--r-- | www/harvest/files/patch-ac | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/www/harvest/files/patch-ab b/www/harvest/files/patch-ab new file mode 100644 index 000000000000..1e39ca0f6c6b --- /dev/null +++ b/www/harvest/files/patch-ab @@ -0,0 +1,13 @@ +--- ./src/common/util/strerror.c.orig Sun Oct 20 17:43:50 2002 ++++ ./src/common/util/strerror.c Sun Oct 20 17:43:59 2002 +@@ -89,8 +89,10 @@ + char *strerror(n) + int n; + { ++#ifndef __FreeBSD__ + extern int sys_nerr; + extern char *sys_errlist[]; ++#endif + + if (n < 0 || n >= sys_nerr) + return (NULL); diff --git a/www/harvest/files/patch-ac b/www/harvest/files/patch-ac new file mode 100644 index 000000000000..a525ee60884b --- /dev/null +++ b/www/harvest/files/patch-ac @@ -0,0 +1,12 @@ +--- ./src/gatherer/essence/file/print.c.orig Sun Oct 20 17:44:09 2002 ++++ ./src/gatherer/essence/file/print.c Sun Oct 20 17:44:18 2002 +@@ -77,8 +77,8 @@ + warning(f, a) + char *f, *a; + { +- extern int errno, sys_nerr; + #if !defined(__FreeBSD__) && !defined(__NetBSD__) ++ extern int errno, sys_nerr; + extern char *sys_errlist[]; + #endif + int myerrno; |