summaryrefslogtreecommitdiff
path: root/devel/libtecla/files/patch-demo3.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-08-14 15:38:31 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-08-14 15:38:31 +0000
commit4d5cd28705252b4078c15138d75551971d676129 (patch)
tree47a0ca8125d5445a7924e4f9a9444d24b6950d29 /devel/libtecla/files/patch-demo3.c
parent- Update to 20060722 [2] (diff)
- Update to 1.6.1
- Respect CFLAGS - Take maintainership ChangeLog for this version: - added feature - the ability to call gl_normal_io() from callbacks registered by gl_watch_fd() and gl_inactivity_timeout(). This allows these callbacks to cleanly suspend line editing before either reading from the terminal, or writing to the terminal; and then subsequently causes the input line to be automatically redisplayed, and line-editing to be resumed by gl_get_line(), as soon as the callback returns. - bugfixes PR: ports/101929 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
Notes
Notes: svn path=/head/; revision=170595
Diffstat (limited to 'devel/libtecla/files/patch-demo3.c')
-rw-r--r--devel/libtecla/files/patch-demo3.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/libtecla/files/patch-demo3.c b/devel/libtecla/files/patch-demo3.c
new file mode 100644
index 000000000000..f569deb50d0a
--- /dev/null
+++ b/devel/libtecla/files/patch-demo3.c
@@ -0,0 +1,26 @@
+--- demo3.c.orig Sat Aug 12 19:31:16 2006
++++ demo3.c Sat Aug 12 19:31:29 2006
+@@ -37,17 +37,17 @@
+ #include <locale.h>
+ #include <setjmp.h>
+
+-#ifdef HAVE_SELECT
+-#ifdef HAVE_SYS_SELECT_H
+-#include <sys/select.h>
+-#endif
+-#endif
+-
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <signal.h>
++
++#ifdef HAVE_SELECT
++#ifdef HAVE_SYS_SELECT_H
++#include <sys/select.h>
++#endif
++#endif
+
+ #include "libtecla.h"
+