diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2008-02-16 21:03:49 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2008-02-16 21:03:49 +0000 |
commit | bb6b92bd341196348bc272f8918e803a0b4fb3e9 (patch) | |
tree | 20fb28edc61135a40ab7117cc9a440c2669b5ea6 /devel/libreadline-java/files/patch-src-native-getline.c | |
parent | Exception::Class::TryCatch - Syntactic try/catch sugar for use with (diff) |
Java-Readline is a port of GNU Readline for Java. Or, to be more
precise, it is a JNI-wrapper to Readline. It is distributed under the
LGPL.
You must call Readline.load(ReadlineLibrary lib); before using any
other methods. If you omit the call to the load()-method, the pure
Java fallback solution is used. Possible values for lib are:
ReadlineLibrary.PureJava
ReadlineLibrary.GnuReadline
ReadlineLibrary.Editline
ReadlineLibrary.Getline
Note that all programs using GnuReadline will fall under the GPL,
since Gnu-Readline is GPL software!
WWW: http://sourceforge.net/projects/java-readline/
PR: ports/116817
Submitted by: Martin Kammerhofer <mkamm at gmx.net>
Notes
Notes:
svn path=/head/; revision=207384
Diffstat (limited to 'devel/libreadline-java/files/patch-src-native-getline.c')
-rw-r--r-- | devel/libreadline-java/files/patch-src-native-getline.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/libreadline-java/files/patch-src-native-getline.c b/devel/libreadline-java/files/patch-src-native-getline.c new file mode 100644 index 000000000000..8494fc2d3fda --- /dev/null +++ b/devel/libreadline-java/files/patch-src-native-getline.c @@ -0,0 +1,10 @@ +--- src/native/getline.c 2003-01-07 11:14:35.000000000 +0100 ++++ /tmp/libreadline-java-0.8.0/src/native/getline.c 2007-09-22 22:20:06.000000000 +0200 +@@ -136,7 +136,6 @@ + #ifndef __convexc__ + extern int read(); + extern int kill(); +-extern int ioctl(); + #endif /* not __convexc__ */ + #ifdef POSIX /* use POSIX interface */ + #include <termios.h> |