diff options
author | kris <kris@FreeBSD.org> | 2002-10-21 08:45:05 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-10-21 08:45:05 +0800 |
commit | ee7fc4aea02b55d6a9e00626c857c81330fc5d25 (patch) | |
tree | 072f4aa4c76aed0e5bb4c7a188d49cd67b01f99a /www/harvest | |
parent | c085a4511d30cc48f29ab1bd93ac024dc107c588 (diff) | |
download | freebsd-ports-gnome-ee7fc4aea02b55d6a9e00626c857c81330fc5d25.tar.gz freebsd-ports-gnome-ee7fc4aea02b55d6a9e00626c857c81330fc5d25.tar.zst freebsd-ports-gnome-ee7fc4aea02b55d6a9e00626c857c81330fc5d25.zip |
Partially fix build on -current (remove duplicate declarations of things
in system headers). This is still broken because IPPORT_USERRESERVED
was removed from -current.
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; |