commit:     53f65ab74e4cf0b91f9c9aebab916231db1dc5fd
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Nov 18 18:33:22 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jun  9 15:18:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53f65ab7

games-puzzle/pauker: patch failing javadoc

Closes: https://bugs.gentoo.org/829503
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-puzzle/pauker/files/pauker-1.8-javadoc.patch | 34 ++++++++++++++++++++++
 games-puzzle/pauker/pauker-1.8-r3.ebuild           |  1 +
 2 files changed, 35 insertions(+)

diff --git a/games-puzzle/pauker/files/pauker-1.8-javadoc.patch 
b/games-puzzle/pauker/files/pauker-1.8-javadoc.patch
new file mode 100644
index 000000000000..ab87fe73c723
--- /dev/null
+++ b/games-puzzle/pauker/files/pauker-1.8-javadoc.patch
@@ -0,0 +1,34 @@
+#829503
+--- a/src/pauker/program/gui/swing/LineLabeler.java
++++ b/src/pauker/program/gui/swing/LineLabeler.java
+@@ -25,7 +25,7 @@ import javax.swing.text.JTextComponent;
+ 
+ /**
+  * A panel for labelling the Pauker import dialog
+- * @author Ronny Standtke <[email protected]>
++ * @author Ronny Standtke
+  */
+ public class LineLabeler extends JPanel implements DocumentListener {
+ 
+--- a/src/pauker/program/Card.java
++++ b/src/pauker/program/Card.java
+@@ -118,7 +118,7 @@ public class Card {
+     /**
+      * sets if the card is learned or not
+      * @param learned if true the cards state is set to learned and the 
current date is used as
+-     * </CODE>learnedDate</CODE>
++     * <CODE>learnedDate</CODE>
+      */
+     public void setLearned(boolean learned) {
+         frontSide.setLearned(learned);
+LongTermBatch.java:101: error: @param name not found
+--- a/src/pauker/program/LongTermBatch.java
++++ b/src/pauker/program/LongTermBatch.java
+@@ -98,7 +98,6 @@ public class LongTermBatch extends Batch {
+     }
+ 
+     /** gets an expired card
+-     * @param i the index of the expired card
+      * @return the expired card
+      */
+     public Card getOldestExpiredCard() {

diff --git a/games-puzzle/pauker/pauker-1.8-r3.ebuild 
b/games-puzzle/pauker/pauker-1.8-r3.ebuild
index 6fb8a63cf540..cadeed423644 100644
--- a/games-puzzle/pauker/pauker-1.8-r3.ebuild
+++ b/games-puzzle/pauker/pauker-1.8-r3.ebuild
@@ -31,6 +31,7 @@ BDEPEND="app-arch/unzip"
 PATCHES=(
        "${FILESDIR}/${PN}_bundledjars.patch"
        "${FILESDIR}/pauker-1.8-r3-project.properties.patch"
+       "${FILESDIR}/pauker-1.8-javadoc.patch"
 )
 
 src_prepare() {

Reply via email to