- Remove diskmode fix for FreeBSD - it didn't work anyway and HEAD doesn't even have the ioctl used

This commit is contained in:
Dmitry Marakasov 2015-01-12 17:25:03 +00:00
parent 59d7ed041b
commit 64bc476bb5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376839

View File

@ -1,18 +1,6 @@
--- src/init.c.orig Sun Aug 8 09:56:11 1999
+++ src/init.c Sat Mar 17 22:23:57 2001
@@ -33,6 +33,11 @@
#include <sys/disklabel.h>
#endif
+#if defined(__FreeBSD__)
+#include <fcntl.h>
+#include <sys/disklabel.h>
+#endif
+
extern char **environ;
@@ -250,6 +255,7 @@
--- src/init.c.orig 1999-08-08 05:56:11.000000000 +0400
+++ src/init.c 2015-01-12 20:23:12.000000000 +0300
@@ -250,6 +250,7 @@
if (color_term != -1)
{
start_color ();
@ -20,12 +8,3 @@
if ((color_term = has_colors ()))
{
color_term = 1;
@@ -463,7 +469,7 @@
filestat.st_size = DEFAULT_BUFFER_SIZE;
}
-#elif defined (__OpenBSD__)
+#elif defined (__OpenBSD__) || defined(__FreeBSD__)
else if (Globals.fixed_disk)
{