aboutsummaryrefslogtreecommitdiff
path: root/sysutils/vbetool
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2008-12-06 00:58:56 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2008-12-06 00:58:56 +0000
commitfaab5f5b72440f46b83ebc70e27d45be18511cdb (patch)
tree3663be5438e324672b2d703a64d967a83ac5f622 /sysutils/vbetool
parent50da6a7568fce14e39c316160232c355210a6fc8 (diff)
downloadports-faab5f5b72440f46b83ebc70e27d45be18511cdb.tar.gz
ports-faab5f5b72440f46b83ebc70e27d45be18511cdb.zip
Notes
Diffstat (limited to 'sysutils/vbetool')
-rw-r--r--sysutils/vbetool/files/patch-vbetool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/vbetool/files/patch-vbetool.c b/sysutils/vbetool/files/patch-vbetool.c
index 97eb7d0f3870..5960ec0ba3d2 100644
--- a/sysutils/vbetool/files/patch-vbetool.c
+++ b/sysutils/vbetool/files/patch-vbetool.c
@@ -42,7 +42,7 @@
LRMI_free_real(data);
-+#ifdef __linux__
++#ifndef __FreeBSD__
ioctl(0, KDSETMODE, KD_TEXT);
+#endif
@@ -52,7 +52,7 @@
return 11;
}
-+#ifdef __linux__
++#ifndef __FreeBSD__
ioctl(0, KDSETMODE, KD_GRAPHICS);
+#endif
return 0;