mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
And here the replacement libedit. Fixes some problems on solaris and hopefully on OpenBSD as well :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7502 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
24
libs/libedit/patches/10-readline.h.patch
Normal file
24
libs/libedit/patches/10-readline.h.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
--- export/src/editline/readline.h 2007-08-31 00:02:46.000000000 +0200
|
||||
+++ ../src/editline/readline.h 2007-08-31 00:03:08.000000000 +0200
|
||||
@@ -46,9 +46,11 @@
|
||||
typedef char **CPPFunction(const char *, int, int);
|
||||
typedef char *rl_compentry_func_t(const char *, int);
|
||||
|
||||
+typedef void *histdata_t;
|
||||
+
|
||||
typedef struct _hist_entry {
|
||||
const char *line;
|
||||
- const char *data;
|
||||
+ histdata_t *data;
|
||||
} HIST_ENTRY;
|
||||
|
||||
typedef struct _keymap_entry {
|
||||
@@ -69,7 +71,7 @@
|
||||
|
||||
#ifndef CTRL
|
||||
#include <sys/ioctl.h>
|
||||
-#if !defined(__sun__) && !defined(__hpux__)
|
||||
+#ifdef __GLIBC__
|
||||
#include <sys/ttydefaults.h>
|
||||
#endif
|
||||
#ifndef CTRL
|
Reference in New Issue
Block a user