2025-06-18 15:05:56 +00:00
committed by Git OBS Bridge
parent fee535e0b6
commit 675aaf3ff5
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- bc-java-r1v81/pg/src/main/java/org/bouncycastle/bcpg/ArmoredOutputStream.java 2025-06-18 16:53:17.839002101 +0200
+++ bc-java-r1v81/pg/src/main/java/org/bouncycastle/bcpg/ArmoredOutputStream.java 2025-06-18 16:53:25.752560133 +0200
@@ -619,7 +619,7 @@
if (comment.length() > availableCommentCharsPerLine)
{
- comment = comment.substring(0, availableCommentCharsPerLine - 1) + '…';
+ comment = comment.substring(0, availableCommentCharsPerLine - "…".length()) + "…";
}
addComment(comment);
return this;

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jun 18 15:04:37 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* bouncycastle-char-literal.patch
+ Somehow, during the build, one unicode character become too
long for being a char literal. Consider it as string then.
-------------------------------------------------------------------
Wed Jun 18 07:36:53 UTC 2025 - Pedro Monreal <pmonreal@suse.com>

View File

@@ -43,6 +43,7 @@ Patch0: bouncycastle-javadoc.patch
# PATCH-FIX-OPENSUSE Add OSGi manifests to the distributed jars
Patch1: bouncycastle-osgi.patch
Patch2: bouncycastle-notests.patch
Patch3: bouncycastle-char-literal.patch
BuildRequires: ant
BuildRequires: ant-junit
BuildRequires: fdupes