summaryrefslogtreecommitdiff
path: root/sysutils/xsysinfo/files/patch-ag
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-09-10 03:56:36 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-09-10 03:56:36 +0000
commit5b19191f47ab3fc77db2c8174fe1be733274bc00 (patch)
treeea077b5b0b59c05dec92853f9c6582c9c716f042 /sysutils/xsysinfo/files/patch-ag
parentChange dependency from gnuplot to gnuplot+ (which has already been fixed (diff)
Fix build on -current.
PR: 13675 Submitted by: Ying-Chieh Liao <ijliao@Terry.Dorm8.NCTU.edu.tw>
Notes
Notes: svn path=/head/; revision=21533
Diffstat (limited to '')
-rw-r--r--sysutils/xsysinfo/files/patch-ag12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/xsysinfo/files/patch-ag b/sysutils/xsysinfo/files/patch-ag
new file mode 100644
index 000000000000..f9d9b94c3151
--- /dev/null
+++ b/sysutils/xsysinfo/files/patch-ag
@@ -0,0 +1,12 @@
+--- sysinfo.c.orig Thu Sep 9 20:54:08 1999
++++ sysinfo.c Thu Sep 9 20:54:25 1999
+@@ -13,7 +13,9 @@
+ #include <sys/ioctl_compat.h> /* XXX NTTYDISC is too well hidden */
+ #include <sys/tty.h>
+ #include <sys/conf.h>
++#if __FreeBSD_version < 400000
+ #include <sys/rlist.h>
++#endif
+ #include <sys/sysctl.h>
+ #include <sys/socket.h>
+ #include <err.h>