diff options
author | 2007-01-03 16:02:32 +0000 | |
---|---|---|
committer | 2007-01-03 16:02:32 +0000 | |
commit | 405c219693f005c3c9c766f1c0e9d625f8252af8 (patch) | |
tree | d77a7965ef16326d5a55c178142879f1b88fc7ac /sys-freebsd/freebsd-usbin/files | |
parent | Version bump (diff) | |
download | historical-405c219693f005c3c9c766f1c0e9d625f8252af8.tar.gz historical-405c219693f005c3c9c766f1c0e9d625f8252af8.tar.bz2 historical-405c219693f005c3c9c766f1c0e9d625f8252af8.zip |
Add patch to build with the NetBSD version of libedit; and add libedit as a dependency.
Package-Manager: portage-2.1.2_rc4-r4
Diffstat (limited to 'sys-freebsd/freebsd-usbin/files')
-rw-r--r-- | sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.2_rc2-libedit-netbsd.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.2_rc2-libedit-netbsd.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.2_rc2-libedit-netbsd.patch new file mode 100644 index 000000000000..fe8a807ace31 --- /dev/null +++ b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.2_rc2-libedit-netbsd.patch @@ -0,0 +1,13 @@ +Index: fbsd-6.2rc2/usr.sbin/cdcontrol/cdcontrol.c +=================================================================== +--- fbsd-6.2rc2.orig/usr.sbin/cdcontrol/cdcontrol.c ++++ fbsd-6.2rc2/usr.sbin/cdcontrol/cdcontrol.c +@@ -1130,7 +1130,7 @@ input (int *cmd) + el = el_init("cdcontrol", stdin, stdout, + stderr); + hist = history_init(); +- history(hist, &he, H_EVENT, 100); ++ history(hist, &he, H_SETSIZE, 100); + el_set(el, EL_HIST, history, hist); + el_set(el, EL_EDITOR, "emacs"); + el_set(el, EL_PROMPT, cdcontrol_prompt); |