freebsd-ports/editors/chexedit/files/patch-misc.c
Vanilla I. Shu 28bcf4c281 Full screen text mode Hex editor using the [n]curses library
PR:		ports/24761
Submitted by:	Roman Shterenzon <roman@xpert.com>
2001-03-17 16:33:32 +00:00

12 lines
645 B
C

--- src/misc.c.orig Wed Jan 31 22:44:38 2001
+++ src/misc.c Wed Jan 31 22:44:56 2001
@@ -394,7 +394,7 @@
" -a, --alltext Print all text characters.\n"
" -b, --buffer Buffer the entire file in memory.\n"
" Much faster and enables insert/delete.\n"
-#if defined (__linux__) || defined (__OpenBSD__)
+#if defined (__linux__) || defined (__OpenBSD__) || defined(__FreeBSD__)
" -d, --disk Edit a fixed disk, i.e. /dev/hda (Read-only)\n"
" -f, --force Force editing of disk.\n"
" Needed to write to disks.\n"