Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
Fedora Release Engineering
aad66176c9 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:59:57 +00:00
Cristian Le
4c6e699188 Allow to build with CMake 4.0 (rhbz#2381639) 2026-06-08 08:23:31 +00:00
František Zatloukal
69abae99b7 Rebuilt for icu 78.3 2026-06-08 09:53:33 +02:00
Fedora Release Engineering
4a34ca4c7b Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:26:25 +00:00
Marcin Juszkiewicz
d090728567 Fix build with GCC 15.
Patch taken from the Debian project.

Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
2025-11-26 10:17:49 +01:00
František Zatloukal
0e6a5472ca Rebuilt for icu 77.1 2025-08-06 09:58:42 +02:00
Fedora Release Engineering
5146b0b2cd Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:36:44 +00:00
2 changed files with 24 additions and 1 deletions

20
gcc_15_fixes.patch Normal file
View file

@ -0,0 +1,20 @@
Index: xalan/src/xalanc/XMLSupport/XalanOtherEncodingWriter.hpp
===================================================================
--- xalan.orig/src/xalanc/XMLSupport/XalanOtherEncodingWriter.hpp 2025-10-22 08:05:45.403631397 -0400
+++ xalan/src/xalanc/XMLSupport/XalanOtherEncodingWriter.hpp 2025-10-22 08:18:14.821542155 -0400
@@ -320,13 +320,13 @@
{
XalanUnicodeChar value = decodeUTF16SurrogatePair(ch, theChars[i+1], getMemoryManager());
- if (this->m_isPresentable(value))
+ if (m_predicate(value))
{
write(value);
}
else
{
- this->writeNumberedEntityReference(value);
+ writeNumericCharacterReference(value);
}
++i;

View file

@ -40,6 +40,8 @@ Source3: Xalan.1
# from 14 to 17.
Patch: https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-libs/xalan-c/files/xalan-c-1.12-icu-75.patch
Patch: gcc_15_fixes.patch
BuildRequires: gnupg2
BuildRequires: cmake
# Either make or ninja is supported.
@ -104,7 +106,7 @@ documentation.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -n %{tar_name}
%autosetup -n %{tar_name} -p 1
# https://github.com/apache/xalan-c/pull/35
chmod -v a-x NOTICE
@ -123,6 +125,7 @@ find docs samples src -type f -exec file '{}' '+' |
%conf
export CMAKE_POLICY_VERSION_MINIMUM=3.5
%cmake %{?with_icu:-Dtranscoder=icu} -GNinja