aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-12-02 08:13:13 +0800
committerkris <kris@FreeBSD.org>2002-12-02 08:13:13 +0800
commitcb8375b1aebba2b0a76f71654e3b5a632a74cbd1 (patch)
tree14f5844fdbccb18e325bdebfa6707027fdd23d5b /ftp
parent865d9721b0efa843f83d8ca18139173b39e5c408 (diff)
downloadfreebsd-ports-gnome-cb8375b1aebba2b0a76f71654e3b5a632a74cbd1.tar.gz
freebsd-ports-gnome-cb8375b1aebba2b0a76f71654e3b5a632a74cbd1.tar.zst
freebsd-ports-gnome-cb8375b1aebba2b0a76f71654e3b5a632a74cbd1.zip
Fix build on 5.0 (remove bogus declaration of sys_nerr)
Diffstat (limited to 'ftp')
-rw-r--r--ftp/llnlxdir/files/patch-ab12
1 files changed, 12 insertions, 0 deletions
diff --git a/ftp/llnlxdir/files/patch-ab b/ftp/llnlxdir/files/patch-ab
new file mode 100644
index 000000000000..2dcb0443a05d
--- /dev/null
+++ b/ftp/llnlxdir/files/patch-ab
@@ -0,0 +1,12 @@
+--- diag.c.orig Sun Dec 1 16:11:28 2002
++++ diag.c Sun Dec 1 16:11:33 2002
+@@ -125,8 +125,8 @@
+ extern struct st_host_info hinfo[];
+ extern int initial_diagnostics;
+ extern int screen;
+-extern int sys_nerr;
+ #if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__GNU_LIBRARY__) && !defined(__GLIBC__) && !defined(__EMX__)
++extern int sys_nerr;
+ extern char *sys_errlist[];
+ #endif
+