public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jline2] epel10: jline.console.ConsoleReader.back should be protected instead of private [rhbz#751208]
@ 2026-09-29 13:17 Marek Goldmann
0 siblings, 0 replies; only message in thread
From: Marek Goldmann @ 2026-09-29 13:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jline2
Branch : epel10
Commit : 9e7e7b1ab67d718e279d9492e13c82c688b184ae
Author : Marek Goldmann <goldmann@fedoraproject.org>
Date : 2011-11-15T08:05:12-05:00
Stats : +18/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/jline2/c/9e7e7b1ab67d718e279d9492e13c82c688b184ae?branch=epel10
Log:
jline.console.ConsoleReader.back should be protected instead of private [rhbz#751208]
---
diff --git a/jline2-2.5-protected-void-back.patch b/jline2-2.5-protected-void-back.patch
new file mode 100644
index 0000000..eda39e0
--- /dev/null
+++ b/jline2-2.5-protected-void-back.patch
@@ -0,0 +1,12 @@
+diff -up jline-2.5/src/main/java/jline/console/ConsoleReader.java.org jline-2.5/src/main/java/jline/console/ConsoleReader.java
+--- jline-2.5/src/main/java/jline/console/ConsoleReader.java.org 2011-11-03 21:27:38.242789068 +0100
++++ jline-2.5/src/main/java/jline/console/ConsoleReader.java 2011-11-03 21:28:47.027460246 +0100
+@@ -579,7 +579,7 @@ public class ConsoleReader
+ /**
+ * Move the visual cursor backwards without modifying the buffer cursor.
+ */
+- private void back(final int num) throws IOException {
++ protected void back(final int num) throws IOException {
+ if (num == 0) return;
+ if (terminal.isAnsiSupported()) {
+ int width = getTerminal().getWidth();
diff --git a/jline2.spec b/jline2.spec
index 8c498a8..ef91959 100644
--- a/jline2.spec
+++ b/jline2.spec
@@ -1,6 +1,6 @@
Name: jline2
Version: 2.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: JLine is a Java library for handling console input
Group: Development/Libraries
License: BSD and ASL 2.0
@@ -10,6 +10,7 @@ URL: https://github.com/jline/jline2
# cd jline2/ && git archive --format=tar --prefix=jline-2.5/ jline-2.5 | xz > jline-2.5.tar.xz
Source0: jline-%{version}.tar.xz
Patch0: %{name}-%{version}-pom.patch
+Patch1: %{name}-%{version}-protected-void-back.patch
BuildArch: noarch
@@ -47,6 +48,7 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n jline-%{version}
%patch0 -p1
+%patch1 -p1
%build
mvn-rpmbuild install javadoc:aggregate
@@ -77,6 +79,9 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
%doc LICENSE.txt
%changelog
+* Tue Nov 15 2011 Marek Goldmann <mgoldman@redhat.com> 2.5-4
+- jline.console.ConsoleReader.back should be protected instead of private [rhbz#751208]
+
* Wed Sep 21 2011 Marek Goldmann <mgoldman@redhat.com> 2.5-3
- Updated license
- Removed unnecessary add_to_maven_depmap
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-29 13:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 13:17 [rpms/jline2] epel10: jline.console.ConsoleReader.back should be protected instead of private [rhbz#751208] Marek Goldmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox