1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/textproc/uim/files/extra-patch-uim_editline.c
MANTANI Nobutaka a40f2d0d2b - Fix compile error on 4-stable [*].
- Add dependency on perl5 port to fix build error regarding intltool-merge on 4-stable.

Reported by:	kris [*]
2006-01-31 17:43:42 +00:00

23 lines
463 B
C

--- uim/editline.c.orig Wed Dec 7 21:39:32 2005
+++ uim/editline.c Tue Jan 31 01:48:45 2006
@@ -52,6 +52,10 @@
#include "editline.h"
+#ifndef H_SETSIZE
+#define H_SETSIZE 1
+#endif
+
static EditLine *el;
static History *hist;
static HistEvent hev;
@@ -65,7 +69,7 @@
void
editline_init(void)
{
- el = el_init("uim", stdin, stdout, stderr);
+ el = el_init("uim", stdin, stdout);
el_set(el, EL_PROMPT, &prompt);
el_set(el, EL_EDITOR, "emacs");