diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2026-10-29 19:02:57 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2026-10-29 19:02:57 +0000 |
| commit | 72d496e3392e1deea2acfe586d984f3830af7ef4 (patch) | |
| tree | 126438db00ff017914399e3e3cef589a53f948df /devel/libreadline-java/files/patch-src_org_gnu_readline_Readline.java | |
| parent | ada602425eafd3c45c40af19f4936bafb8eca2f9 (diff) | |
devel/libreadline-java: Remove expired port
2026-10-28 devel/libreadline-java: 20 years old, does not build with jdk11+, not actively maintained, no users in the tree, forked(?) to https://github.com/aclemons/java-readline
Diffstat (limited to 'devel/libreadline-java/files/patch-src_org_gnu_readline_Readline.java')
| -rw-r--r-- | devel/libreadline-java/files/patch-src_org_gnu_readline_Readline.java | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/devel/libreadline-java/files/patch-src_org_gnu_readline_Readline.java b/devel/libreadline-java/files/patch-src_org_gnu_readline_Readline.java deleted file mode 100644 index 62cd3f5b06b1..000000000000 --- a/devel/libreadline-java/files/patch-src_org_gnu_readline_Readline.java +++ /dev/null @@ -1,52 +0,0 @@ ---- src/org/gnu/readline/Readline.java.orig 2003-01-07 10:14:35 UTC -+++ src/org/gnu/readline/Readline.java -@@ -568,6 +568,31 @@ public class Readline { - ///////////////////////////////////////////////////////////////////////////// - - /** -+ Query and set the completion append character. You might need -+ this in a {@link ReadlineCompleter} implementation. The argument -+ appendCharacter should be in the ASCII range. -+ -+ <p>Supporting implementations: -+ <ul> -+ <li>GNU-Readline</li> -+ <li>Editline</li> -+ </ul> -+ </p> -+ -+ */ -+ -+ public static char setCompletionAppendCharacter(char appendCharacter) { -+ if (iLib == ReadlineLibrary.GnuReadline || iLib == ReadlineLibrary.Editline) -+ return setCompletionAppendCharacterImpl(appendCharacter); -+ else if (iThrowException) -+ throw new UnsupportedOperationException(); -+ else -+ return '\uFFFF'; -+ } -+ -+ ///////////////////////////////////////////////////////////////////////////// -+ -+ /** - Query the current line buffer. This returns the current content of - the internal line buffer. You might need this in a - {@link ReadlineCompleter} implementation to access the full text -@@ -838,4 +863,17 @@ public class Readline { - private native static void - setWordBreakCharactersImpl(String wordBreakCharacters) - throws UnsupportedEncodingException; -+ -+ ///////////////////////////////////////////////////////////////////////////// -+ -+ /** -+ Native implementation of setCompletionAppendCharacter() -+ -+ @see -+ org.gnu.readline.Readline#setCompletionAppendCharacter(char appendCharacter) -+ */ -+ -+ private native static char -+ setCompletionAppendCharacterImpl(char appendCharacter); -+ - } |
